Logical Conditions

Logical Conditions

7th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

Exercícios de Strings em Python

Exercícios de Strings em Python

8th Grade

10 Qs

intereses o gustos

intereses o gustos

8th Grade

10 Qs

Thao luan lop 8 (15p_hk1)

Thao luan lop 8 (15p_hk1)

8th Grade

10 Qs

Программирование на С++. Массивы

Программирование на С++. Массивы

8th - 12th Grade

5 Qs

Tipul de date int

Tipul de date int

7th Grade

6 Qs

PYTHON

PYTHON

KG - Professional Development

9 Qs

HTML Structure and Headings

HTML Structure and Headings

8th Grade

11 Qs

Examen parcia 1ro basico

Examen parcia 1ro basico

7th Grade

10 Qs

Logical Conditions

Logical Conditions

Assessment

Quiz

Instructional Technology

7th - 8th Grade

Hard

Created by

Ivan Devon

Used 2+ times

FREE Resource

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