Search Header Logo

Programming Quiz

Authored by Nixon López

Computers

9th - 12th Grade

Used 5+ times

Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 2 pts

If X and Y are boolean variables with values X = False,  Y = True, determine the value of the following logical expressions:

X || Y && !Y ^ X || Y

True

False

Error

2.

MULTIPLE CHOICE QUESTION

10 mins • 2 pts

If A and B are boolean variables with values A = True,  B = False, determine the value of the following logical expressions:

A && !B && !A || !B ^ A

False

True

Error

3.

MULTIPLE CHOICE QUESTION

10 mins • 2 pts

If we have variable X = 0 and Y = 1, what would be returned if we use the logical operator ^

False

True

1

0

4.

MULTIPLE CHOICE QUESTION

10 mins • 2 pts

If we have variable T = 0 and F = 1, what would be returned if we use the logical operator &&

1

0

True

False

5.

MULTIPLE SELECT QUESTION

10 mins • 2 pts

Select the types of control structures:

Secuencial

Condicional

Iteración

Algorítmica

6.

MULTIPLE CHOICE QUESTION

10 mins • 2 pts

What is the difference between using the "For" and "While" loop?

For is used when we want to execute the loop indefinitely and while is used when we know the number of times we want to execute a loop.

For is used when we know the number of times we want to execute a loop and while is used when we want to execute the loop indefinitely.

7.

MULTIPLE SELECT QUESTION

10 mins • 2 pts

Select the types of conditionals that exist:

Simple Conditionals

Compound Conditionals

Switch Conditionals

Selective Conditionals

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?