Search Header Logo

IT 1202

Authored by heiyin chung

Computers

6th - 8th Grade

Used 2+ times

IT 1202
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following words can be used as a variable name?

(1) 10words

(2) Print

(3) import

(2) only

(1) and (3)

(2) and (3)

None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Study the following Python program:

a = 12

b = 20

c = a * 2

b = b - 10 * 3

a = c + b

print (c, a)

What is the output of the program?

14 24

24 54

24 14

54 24

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Chris writes the following Python program:

nameA = input ( )

nameB = input ( )

nameC = nameA

print (nameB, "and", nameC, "had lunch together today.")

In order to produce the output "Chris and Jacky had lunch together today.", which of the following should Chris input sequentially?

Jacky and then Chris

Jacky and then Jacky

Chris and then Jacky

None of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Read the following Python program:

a = 5

b = 6

c = 3

num = (b - a) * c + 3 * b + a * a

a = 2

print (num)

What is the output of the program?

184

46

34

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Read the following Python program:

Hello = "Hi"

World = "everyone"

name = "Henry"

print (Hello, "World", "I'm", name)

What is the output of the program?

Hello World I'm name

Hi everyone I'm Henry

Hello everyone I'm name

Hi World I'm Henry

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Read the following program.

a = input ( )

o = input ( )

print ("You cannot compare ", o, " and ", a)

Input the following text to the program in order:

apples

oranges

What do you see in the output cell?

You cannot compare apples and oranges

You cannot compare a and o

You cannot compare oranges and apples

You cannot compare o and a

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the output of the program below?

name = "Benny"

class_no = 10

print ("name", "has a class number of", class_no)

"Benny" has a class number of 10

name has a class number of 10

Benny has a class number of 10

name has a class number of "10"

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?