LOGICAL OPERATORS

LOGICAL OPERATORS

University

5 Qs

quiz-placeholder

Similar activities

C++ Chapter 4

C++ Chapter 4

University

10 Qs

Array in C

Array in C

University

10 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

Seatwork 2

Seatwork 2

University

10 Qs

HTML Basics

HTML Basics

9th Grade - Professional Development

9 Qs

HTML/CSS Quiz

HTML/CSS Quiz

10th Grade - University

10 Qs

Review of Lesson 2

Review of Lesson 2

University

10 Qs

LOGICAL OPERATORS

LOGICAL OPERATORS

Assessment

Quiz

Computers

University

Medium

Created by

nehz coder

Used 4+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Media Image

x = 10

print(x > 5 and x < 15)

What will be printed?

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Media Image

x = 6

print(x < 5 or x < 4)

What will be printed?

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Media Image

x = 15

print(x >= 12 or x <= 19)

What will be printed?

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

IF ( month = "September" OR day >= 11 )

{

activity ← "Watch News"

}

ELSE

{

activity ← "swiming"

}

In which situations will activity be "Watch News"?

When month is "July" and day is 9

When month is "September" and day is 10

When month is "August" and day is 8

When month is "March" and day is 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

IF (grade > 90 and grade < 100)

{

Student ← "High Honors"

}

ELSE
{

Student ← "No Honors"

}

In which situations will student be "High Honors"

When grade is 95

When grade is 75

When grade is 89

When grade is 69