Search Header Logo

CA -XII B Quiz 2

Authored by Sulthana Begum

Computers

12th Grade

Used 1+ times

CA -XII B Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

_______ loop provides an easy way to iterate over arrays

for

foreach

while

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Loops that iterates fixed number of times is

Bounded

Unbounded

Foreach

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output

<?php

for($x=1;$x<5;$x++)

{

print "%";

}

?>

%%%%

%%%%%

Infinite loop

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many segments are there in for loop

2

3

4

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which loop executes atleast once

do..while

while

foreach

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many types of loop in php

2

3

4

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function reads the entire contents of a file

fgetc()

fgets()

file_get_contents()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers