grade 7&8 week 8

grade 7&8 week 8

6th Grade

48 Qs

quiz-placeholder

Similar activities

KELAS 2-REVIEW MATERI INFORMATIKA SM2

KELAS 2-REVIEW MATERI INFORMATIKA SM2

2nd Grade - University

50 Qs

grade 7&8 week 8

grade 7&8 week 8

Assessment

Quiz

Information Technology (IT)

6th Grade

Hard

Created by

jax teller

Used 1+ times

FREE Resource

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to assign the value 10 to a variable?

10 = x

x = 10

int x = 10

set x to 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to get user input in Python?

input()

get()

read()

scan()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data is returned by input() by default?

Integer

String

Boolean

Float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display output?

print()

echo()

show()

write()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command converts a string input into an integer?

toInt()

convert(input())

int(input())

str(input())

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code? for i in range(3): print("Hi")

Hi (once)

Hi (3 times)

Hi (infinite)

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In for i in range(5):, what values does i take?

1 to 5

0 to 5

0 to 4

1 to 4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Similar Resources on Wayground