__________ has five major components like text, images, sound, video and animation.
a.
Master item
b.
Multimedia
Correct Answer
c.
Multi-word
d.
Master page
Step-by-Step AI Explanation
Verified Method
Multimedia has five major components: text, images, sound, video, and animation. The other options are not correct because a master item or master page are document-related terms, and multi-word is not a standard term for these media components.
Q2mcq1 mark
A __________ is used for magnifying the particular portion of the area.
a.
Zoom tool
Correct Answer
b.
Text tool
c.
Hand tool
d.
Line tool
Step-by-Step AI Explanation
Verified Method
The Zoom tool is used to magnify a particular portion of the area. The Text tool is for inserting or editing text, the Hand tool is used to move the view of the image/canvas, and the Line tool is used to draw lines.
Q3mcq1 mark
To select an entire document using the keyboard, press __________.
a.
Ctrl+C
b.
Ctrl+A
Correct Answer
c.
Ctrl+D
d.
Ctrl+B
Step-by-Step AI Explanation
Verified Method
Ctrl+A is the keyboard shortcut used to select the entire document. Ctrl+C copies selected content, Ctrl+D is not used for selecting all, and Ctrl+B usually means bold formatting.
Q4mcq1 mark
Which operator is called βidenticalβ ?
a.
===
Correct Answer
b.
=
c.
<>
d.
==
Step-by-Step AI Explanation
Verified Method
The identical operator in PHP is ===. It checks both value and type. The symbol = is assignment, <> is not equal, and == is the equality operator that checks only value.
Q5mcq1 mark
How many types of arrays are there in PHP ?
a.
4
b.
2
c.
5
d.
3
Correct Answer
Step-by-Step AI Explanation
Verified Method
There are 3 types of arrays in PHP: indexed arrays, associative arrays, and multidimensional arrays. So the correct answer is 3.
Q6mcq1 mark
What type of statement is the if...else statement ?
a.
Input
b.
Conditional
Correct Answer
c.
Output
d.
Looping
Step-by-Step AI Explanation
Verified Method
The if...else statement is a conditional statement because it is used to make decisions based on whether a condition is true or false. It is not an input, output, or looping statement.
Q7mcq1 mark
What is the output of the following code ?
$i = 4;
do
{
echo $i.β<br>β;
$i++;
} while ($i<=3);
a.
3
2
1
b.
1
2
3
4
c.
1
2
3
d.
None of the above
Correct Answer
Step-by-Step AI Explanation
Verified Method
The code starts with $i = 4$. In a do...while loop, the body executes at least once before checking the condition. So it prints 4 once, then increments $i$ to 5. The condition $i \le 3$ becomes false, so the loop stops. Since the output is only 4, and that is not among options A, B, or C, the correct choice is None of the above.
Q8mcq1 mark
Which looping structure should be used to iterate over elements of an array in PHP ?
a.
do....while loop
b.
for loop
c.
foreach loop
Correct Answer
d.
while loop
Step-by-Step AI Explanation
Verified Method
The foreach loop is used to iterate over elements of an array in PHP. It is specially designed for arrays and is the most suitable looping structure for this purpose. The other loops can be used in some cases, but foreach is the standard and easiest choice for arrays.
Q9mcq1 mark
What type of loop is βwhile loopβ in PHP ?
a.
Counter loop
b.
Entry-check loop
Correct Answer
c.
Iteration loop
d.
Exit-check loop
Step-by-Step AI Explanation
Verified Method
A while loop in PHP is an entry-check loop because the condition is tested before the loop body executes. If the condition is false initially, the loop may not run at all. Hence, the correct answer is (b) Entry-check loop. The other options are not correct because a counter loop usually refers to a for loop, and exit-check loops test the condition after executing the body.
Q10mcq1 mark
A set of Computers connecting together is called as __________.
a.
Hub
b.
Network
Correct Answer
c.
Node
d.
Server
Step-by-Step AI Explanation
Verified Method
A set of computers connected together is called a Network. A network allows computers to communicate and share data and resources. So, the correct answer is (b) Network. A hub is a networking device, a node is a single device on a network, and a server is a computer that provides services to other computers.
🎉 10 Free Sample Solutions Completed
Unlock All 33 Questions & Solutions
Sign up free in seconds to unlock step-by-step AI answers for the remaining 23 questions.
What will be the output of the following in PHP code ?
<?php
$x=5;
switch ($x)
{
case 5:
echo βx is equal to 5β;
break;
case 10:
echo βx is equal to 10β;
break;
case 15:
echo βx is equal to 15β;
break;
default:
echo βx is not equal to 5, 10, or 15β;
}
?>
Correct Answer & Step-by-Step Solution Locked
Sign in free to reveal the correct answer and AI explanation for this question.