Coding Quiz Zone
1.56K subscribers
18 photos
7 links
✨ Part Of @OfficialCodingExpert

Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!
Download Telegram
Suppose list1 is [1, 5, 9], what is sum(list1)?
Anonymous Quiz
5%
a) 1
16%
b) 9
53%
c) 15
26%
d) Error
Pointer variable is used to hold the _________ of the variable.
Anonymous Quiz
11%
a) Value
61%
b) Address
28%
c) Value and Address
0%
d) Name of the variable
Which among the given operators is referred to as β€˜address of’ operator?
Anonymous Quiz
16%
a) *
26%
b) ^
47%
c) &
11%
d) ~
Which among the following is referred as an array of pointers?
Anonymous Quiz
30%
a) int *p;
35%
b) int (*)p;
20%
c) int p[4];
15%
d) int*[4] p;
Among the given pointer which of the following cannot be incremented?
Anonymous Quiz
5%
a) int
26%
b) char
21%
c) float
47%
d) void
How many values can be returned from a function simultaneously using pointers?
Anonymous Quiz
15%
1
40%
2
10%
3
35%
as many as user wants
Among the given pointers which of the following cannot be incremented?
Anonymous Quiz
5%
a) int
33%
b) char
19%
c) float
43%
d) void
What will be the declaration of the variable ptr as the pointer to array of 6 floats?
Anonymous Quiz
42%
a) float *ptr[6]
32%
b) float [6]*ptr
26%
c) float(*ptr)[6]
0%
d) float(*ptr)(6).
How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.
Anonymous Quiz
35%
10
47%
7
18%
8
0%
9
Which of the following web servers are required to run the PHP script?
Anonymous Quiz
39%
a) Apache and PHP
17%
b) IIS
33%
c) XAMPP
11%
d) Any of the mentioned
❀1
The developers of PHP deprecated the safe mode feature as of which PHP version?
Anonymous Quiz
25%
a) PHP 5.3.1
50%
b) PHP 5.3.0
25%
c) PHP 5.1.0
0%
d) PHP 5.2.0
Which one of the following is the default PHP session name?
Anonymous Quiz
21%
a) PHPSESSIONID
47%
b) PHPIDSESS
26%
c) PHPSESSID
5%
d) PHPSESID
Which variable is used to collect form data sent with both the GET and POST methods?
Anonymous Quiz
19%
a) $_BOTH
33%
b) $REQUEST
48%
c) $_REQUEST
0%
d) $BOTH
If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?
Anonymous Quiz
9%
a) 1
45%
b) 5
32%
c) 12
14%
d) Error
Which one of the following functions are used to search a string?
Anonymous Quiz
10%
a) preg_match
57%
b) preg_search
19%
c) preg_find
14%
d) preg_found
πŸ‘1
Which one of the following preg PHP function is used to do a find and replace on a string or an array?
Anonymous Quiz
39%
a) preg_replace()
22%
b) preg_find()
39%
c) preg_find_replace()
0%
d) preg_findre()
Which one of the following preg PHP functions is used to take a string, and put it in an array?
Anonymous Quiz
9%
a) preg_destroy()
55%
b) preg_split()
32%
c) preg_unchain()
5%
d) preg_divide()