Search Header Logo

Second Quarterly Examination in Computer Programming SY 25-26

Authored by Rhoychie Roy

Computers

12th Grade

Used 1+ times

Second Quarterly Examination in Computer Programming SY 25-26
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This conditional statement is used to specify a block of code to be executed, if a specified condition is true.

if

else

else if

switch

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Use to specify a block of code to be executed, if the same condition is false.

A. if

B. else

C. else if

D. switch

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Use to specify a new condition to test, if the first condition is false.

if

else

else if

switch

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To specify many alternative blocks of code to be executed.

if

else

else if

switch

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Java supports the usual logical conditions from mathematics.

True

False

Partly True

Partly False

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This will stop the execution of more code and case testing inside the block. When a match is found, and the job is done, it's time for a break. There is no need for more testing.

Break

Case

Default

Switch

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This keyword specifies some code to run if there is no case match:

Break

Case

Default

Switch

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?