Which of the following is a raster image file format ?
a.
CDR
b.
JPEG
Correct Answer
c.
SVG
d.
EPS
Step-by-Step AI Explanation
Verified Method
JPEG is a raster image file format because it stores images as a collection of pixels. CDR, SVG, and EPS are primarily vector-based formats.
Q2mcq1 mark
Place option is present in __________ menu.
a.
Layout
Correct Answer
b.
File
c.
Window
d.
Edit
Step-by-Step AI Explanation
Verified Method
Place option is present in the Layout menu. It is used to position an object accurately on the page. The other menus listed do not contain the Place option.
Q3mcq1 mark
__________ Command is used to modify the existing structure of database or table.
a.
DROP
b.
CREATE
c.
RENAME
d.
ALTER
Correct Answer
Step-by-Step AI Explanation
Verified Method
ALTER command is used to modify the existing structure of a database table, such as adding, deleting, or changing columns. DROP deletes an object, CREATE makes a new object, and RENAME changes only the name.
Q4mcq1 mark
What is the extension of PHP file ?
a.
.php
Correct Answer
b.
.html
c.
.ph
d.
.xml
Step-by-Step AI Explanation
Verified Method
The extension of a PHP file is .php. The other options are not the standard PHP file extension.
Q5mcq1 mark
A __________ is a block of code that performs a specific task.
a.
class
b.
parameter
c.
label
d.
function
Correct Answer
Step-by-Step AI Explanation
Verified Method
A function is a block of code that performs a specific task. A class is a blueprint for objects, a parameter is a value passed to a function, and a label is used for identification in programming.
Q6mcq1 mark
Which of the following is used to terminate the switch statement ?
a.
goto
b.
return
c.
break
Correct Answer
d.
continue
Step-by-Step AI Explanation
Verified Method
The break statement is used to terminate a switch statement. return exits from a function, continue skips to the next loop iteration, and goto transfers control to a labeled statement.
Q7mcq1 mark
What is the purpose of the βincrementβ part of a for loop ?
a.
To check the condition
b.
To initialize variables
c.
To execute the code block
d.
To update variables
Correct Answer
Step-by-Step AI Explanation
Verified Method
The increment part of a for loop is used to update variables after each iteration, usually by increasing or decreasing the loop counter. The condition is checked separately, initialization happens at the start, and the code block is executed in the loop body.
Q8mcq1 mark
What form control allows the user to select multiple values ?
a.
check boxes
Correct Answer
b.
text inputs
c.
radio buttons
d.
buttons
Step-by-Step AI Explanation
Verified Method
Check boxes allow the user to select multiple values. Radio buttons allow only one option from a group, while text inputs and buttons do not serve this purpose.
Q9mcq1 mark
Which version of PHP supports MySQLi functions ?
a.
Version 4.0
b.
Version 2.0
c.
Version 5.0
Correct Answer
d.
Version 3.0
Step-by-Step AI Explanation
Verified Method
PHP version 5.0 supports MySQLi functions. MySQLi stands for MySQL Improved and was introduced to provide better support for newer MySQL features. Versions 4.0, 2.0, and 3.0 do not support MySQLi.
Q10mcq1 mark
Which one of the following is not the social media ?
a.
Twitter
b.
Gmail
Correct Answer
c.
Linkedin
d.
Facebook
Step-by-Step AI Explanation
Verified Method
Gmail is not a social media platform; it is an email service. Twitter, LinkedIn, and Facebook are social networking/social media sites.
🎉 10 Free Sample Solutions Completed
Unlock All 37 Questions & Solutions
Sign up free in seconds to unlock step-by-step AI answers for the remaining 27 questions.
What will be the output for the following PHP Code ?
<?php
$x=1;
switch($x)
{
Case 2:
echo ''x is equal to 2'';
break;
Case 3:
echo ''x is equal to 3'';
break;
default:
echo ''x is not equal to 2, 3 '';
}
?>
Correct Answer & Step-by-Step Solution Locked
Sign in free to reveal the correct answer and AI explanation for this question.
(a)Write the advantages and disadvantages of E-Commerce.
OR
(b)What will be the output for the following operators ?
(i)a%b ($a=5; $b=2;)
(ii)5==5.0
(iii)5===5.0
(iv)(5>3) && (5>7)
(v)! (5>3)
Correct Answer & Step-by-Step Solution Locked
Sign in free to reveal the correct answer and AI explanation for this question.