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()
Parameter flags was added in which version of PHP?
Anonymous Quiz
15%
a) PHP 4.0
46%
b) PHP 4.1
8%
c) PHP 4.2
31%
d) PHP 4.3
The updated MySQL extension released with PHP 5 is typically referred to as _______________
Anonymous Quiz
54%
a) MySQL
25%
b) mysql
21%
c) mysqli
0%
d) mysqly
Which one of the following lines need to be uncommented or added in the php.ini file so as to enable mysqli extension?
Anonymous Quiz
13%
a) extension=php_mysqli.dll
46%
b) extension=mysql.dll
25%
c) extension=php_mysqli.dl
17%
d) extension=mysqli.dl
class UnsafeCode
{
unsafe static void Main()
{
int[] nums = new int[10];
fixed (int* p = &nums[0], p2 = nums)
{
if (p == p2)
Console.WriteLine("p and p2 point to same address.");
Console.ReadLine();
}
}
}
Coding Quiz Zone
class UnsafeCode { unsafe static void Main() { int[] nums = new int[10]; fixed (int* p = &nums[0], p2 = nums) { if (p == p2) Console.WriteLine("p and p2 point to same address."); Console.ReadLine();โฆ
What will be the output of the following C# code snippet?
Anonymous Quiz
20%
a) Run time error
40%
b) Compile time error
40%
c) p and p2 point to the same address
0%
d) Only p2
class UnsafeCode
{
struct MyStruct
{
public int a;
public int b;
public int Sum()
{
return a / b;
}
}
unsafe static void Main()
{
MyStruct o = new MyStruct();
MyStruct* p;
p = &o;
p->a = 60;
p->b = 15;
int c = 30;
Console.WriteLine("Value is : " + p->Sum()*c);
Console.ReadLine();
}
}
Coding Quiz Zone
class UnsafeCode { struct MyStruct { public int a; public int b; public int Sum() { return a / b; } } unsafe static void Main() { MyStruct o = new MyStruct(); MyStruct* p; โฆ
What will be the output of the following C# code snippet?
Anonymous Quiz
32%
a) Compile time error
36%
b) 120
28%
c) Run time error
4%
d) 4
class UnsafeCode
{
unsafe static void Main()
{
int* p ;
int ch = 13*5;
p = &(ch);
Console.WriteLine(Convert.ToChar(*p));
if (*p == 'A')
Console.WriteLine(Convert.ToBoolean(1));
else
Console.WriteLine(Convert.ToBoolean(0));
Console.ReadLine();
}
}
Coding Quiz Zone
class UnsafeCode { unsafe static void Main() { int* p ; int ch = 13*5; p = &(ch); Console.WriteLine(Convert.ToChar(*p)); if (*p == 'A') Console.WriteLine(Convert.ToBoolean(1)); elseโฆ
What will be the output of the following C# code snippet?
Anonymous Quiz
32%
a) 65 False
41%
b) 65 1
21%
c) A True
6%
d) A 1
Locating or identifying the bugs is known as ___________
Anonymous Quiz
4%
a) Design
29%
b) Testing
65%
c) Debugging
2%
d) Coding
___________ is done in the development phase by the debuggers.
Anonymous Quiz
20%
a) Coding
20%
b) Testing
58%
c) Debugging
2%
d) Implementation
A set of activities that ensure that software correctly implements a specific function.
Anonymous Quiz
25%
a) verification
41%
b) testing
20%
c) implementation
14%
d) validation
A planned program if work that requires a definitive amount of time, effort and planning to complete.
Anonymous Quiz
15%
a) Problem
49%
b) Project
23%
c) Process
13%
d) Program
An individual who plans and directs the work.
Anonymous Quiz
18%
a) Stakeholder
56%
b) Project manager
14%
c) Team leader
12%
d) Programmer