Programming Quiz

Programming Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Laser Defender Part 3 Worksheet

Laser Defender Part 3 Worksheet

9th - 12th Grade

15 Qs

Von Neumann achitecture

Von Neumann achitecture

8th - 10th Grade

11 Qs

Coding 101

Coding 101

9th Grade

12 Qs

Swift Playgrounds  Part 2

Swift Playgrounds Part 2

9th Grade

15 Qs

AP CSA Unit 4 Review

AP CSA Unit 4 Review

11th Grade

13 Qs

Computer Science

Computer Science

3rd - 12th Grade

12 Qs

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

11 Qs

Python Control structures

Python Control structures

12th Grade

10 Qs

Programming Quiz

Programming Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Nixon López

Used 5+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?