Logical Conditions

Logical Conditions

7th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

Sintaxis Python

Sintaxis Python

7th Grade

10 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

PowerPoint 16 Module 1 Vocabulary - Cengage

PowerPoint 16 Module 1 Vocabulary - Cengage

5th - 12th Grade

10 Qs

App para aprender ingles

App para aprender ingles

1st - 10th Grade

10 Qs

Estructuras Repetitivas

Estructuras Repetitivas

7th Grade - Professional Development

10 Qs

Python Lists

Python Lists

8th Grade

10 Qs

Variables and Expressions

Variables and Expressions

6th - 10th Grade

7 Qs

Dark-Web quiz

Dark-Web quiz

8th Grade - University

6 Qs

Logical Conditions

Logical Conditions

Assessment

Quiz

Instructional Technology

7th - 8th Grade

Practice Problem

Hard

Created by

Ivan Devon

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How would you write the following words as a string data type?


HELLO

Hello

HELLO

"HELLO"

'HELLO'

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do I declare a variable that contains integers in it?

variable = 1234

int variable = 1234

variable == 1234

int variable = "1234"

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a float data type?

5

-5

5.0

"5"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this is a char data type?

5

"5"

'5'

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many Hello will the following code produce?

int Ivan = 50

int Artem = 20

while( Ivan > 10 && Artem < 50)

print "Hello"

Ivan = Ivan - 10

Artem = Artem + 10

1

2

3

4

5

6.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

What will the following code produce?


int count = 0

while (count < 5)

if count == 4

print "Thursday"

if count == 1

print "Monday "

if count == 5

print "Friday"

if count == 2

print "Tuesday "

if count == 3

print "Wednesday "

count = count +1

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?