2 like 0 dislike
3.1k views
Write a PHP script to sort the following associative array array("Sophia"=>"31","Jacob"=>"41","William"=>"39","Ramesh"=>"40") in

a) ascending order sort by value

b) ascending order sort by Key

c) descending order sorting by Value

d) descending order sorting by Key
[Exercise] Essay (Open question) - asked in 2016-2 CSIEB0270 - Internet System Design and Practice by (18k points)
ID: 24444 - Available when: Unlimited - Due to: Unlimited
| 3.1k views

15 Answers

0 like 0 dislike
Hidden content!
*** **** * **** ** *** * **** * * ** **
answered by (12 points)
0 like 0 dislike
Hidden content!
***** **** ** ** **** *** * *** * ** ***** *
answered by (38 points)
0 like 0 dislike
Hidden content!
** * * * * * ******** * ** * * *** * *
answered by (-2 points)
0 like 0 dislike
Hidden content!
* ** **** *** ** ** ** * ** * ** *** ****
answered by (-103 points)
0 like 0 dislike
Hidden content!
* ** * * *** ** ** * * * ** **** ** * * *** **** *
answered by (-20 points)
0 like 0 dislike
Hidden content!
* *** ** ** ********** * * * ** * * ** * * * * *
answered by (-14 points)
0 like 0 dislike
Hidden content!
* * ** * * * * * ** *** ** ** ** * *
answered by (-335 points)
0 like 0 dislike
Hidden content!
********** * *
** * * * **
*** * * **
* *** *
*** = ** *** * * **** * * ** *********** ** * *** ******* ** * * * *** * *** *** ** *** **** ********
** **
* *** as * **** **
{
echo ** = * ** . $x . *** Value = *** * . * ***
echo * ** **********
}

echo **** *** * ** * *
echo ** *** ** *** ** ****
echo * ** * * * *

** * **
***** as *** * **
{
echo * * * = *** . $x . * Value = * * . **
echo ** ** * ** *
}

*** *** ** * * *
echo ** * * * * * * *
*** **** * *** *******

** * ** ***
* * as ****** * * )
{
echo * * = . $x . *** ** = * * . * * *
echo **** * *** * ***
}

* * *** * * ** * * **
* * *** ** ** * *** ** *
** * * ** * * * *

* * *
** * * as ******
{
echo * = * . $x . **** = * ** . * **
echo * * ** ***
}
* *


* * * * *** **
** ** *
answered by (-103 points)
edited by
0 like 0 dislike
Hidden content!
*** ***** * **** * * * * * * ** * ** *
answered by (-211 points)
0 like 0 dislike
Hidden content!
*** ** * * ** ****** ** * * * * * *
answered by (-144 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:104.23.197.95
©2016-2026

Related questions

3 like 0 dislike
0 answers
[Resource] asked May 4, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24443 - Available when: Unlimited - Due to: Unlimited
| 48 views
2 like 0 dislike
0 answers
[Resource] asked May 4, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24442 - Available when: Unlimited - Due to: Unlimited
| 34 views
2 like 0 dislike
16 answers
[Exercise] Multichoice - asked May 3, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24441 - Available when: Unlimited - Due to: 2017-05-04 10:30:00
| 2.6k views
3 like 0 dislike
18 answers
[Exercise] Multichoice - asked May 3, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24440 - Available when: Unlimited - Due to: 2017-05-04 10:30:00
| 3.2k views
2 like 0 dislike
16 answers
[Exercise] Multichoice - asked May 3, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24439 - Available when: Unlimited - Due to: 2017-05-04 10:30:00
| 2.6k views
12,783 questions
183,442 answers
172,219 comments
4,824 users