Programming Quiz

Programming Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

CodeHS APCSP Python Control Structures

CodeHS APCSP Python Control Structures

11th - 12th Grade

13 Qs

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

6th - 12th Grade

10 Qs

Level 1 - week 1

Level 1 - week 1

7th Grade - University

8 Qs

Code.org - Conditionals

Code.org - Conditionals

12th Grade

6 Qs

Grade2-Term3-Shj

Grade2-Term3-Shj

4th Grade - University

10 Qs

Basic Programming Constructs

Basic Programming Constructs

11th Grade

11 Qs

SRM IST - 2 Weeks Certification Program - 5-2-2022

SRM IST - 2 Weeks Certification Program - 5-2-2022

11th - 12th Grade

15 Qs

More Python

More Python

10th - 12th Grade

13 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?