Mod 2 quiz 1

Mod 2 quiz 1

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Cha-ching 2

Cha-ching 2

1st Grade - University

8 Qs

Berpikir komputasional

Berpikir komputasional

10th Grade

10 Qs

Nhập môn HTML

Nhập môn HTML

6th - 9th Grade

13 Qs

Server Administration- Quiz 1

Server Administration- Quiz 1

12th Grade - University

10 Qs

media transmisyjne

media transmisyjne

9th Grade

10 Qs

Pemrograman Dasar

Pemrograman Dasar

10th Grade

10 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

TIN 6 THU NHẬN THÔNG TIN

TIN 6 THU NHẬN THÔNG TIN

6th - 9th Grade

12 Qs

Mod 2 quiz 1

Mod 2 quiz 1

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Scott Freeman

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following program?

print ("My\nname\nis\nBond. ", end= "")

print ("James Bond")

My

name

is

Bond. James Bond

My

name

is

Bond.

James Bond

My

name

is

Bond.

James

Bond

error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following program?

print (sep="&", "fish", "chips")

fish & chips

& fish chips

fish chips &

error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following codes will cause an error

print('Greg\'s book.')

print("'Greg's book.'")

print('"Greg\'s book."')

print("Greg\'s book.")

print ('"Greg's book.''')

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of literals are the followings examples

"Hello" and "007"

Integer

String

Float

Boolean

5.

MATCH QUESTION

1 min • 1 pt

Match the following literals

Float

528

Boolean

"1.5"

Integer

False

String

2.0

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the base 10 value when the binary is 1011

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the expected value of the following code?

print((2**4), (2*4), (2*4))

8.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the expected value of the following code?

print((-2/4), (2/4), (2//4),(-2//4))

9.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the expected value of the following code?

print((2%-4), (2%4), (2**3**2))