Fundamentals of Programming Quiz

Fundamentals of Programming Quiz

8th Grade

30 Qs

quiz-placeholder

Similar activities

Tux Paint Quiz

Tux Paint Quiz

6th - 8th Grade

30 Qs

Berpikir Komputasional - Informatika VIII

Berpikir Komputasional - Informatika VIII

8th Grade

31 Qs

info

info

6th - 8th Grade

30 Qs

📝 Diagnostic Assessment – Information Technology

📝 Diagnostic Assessment – Information Technology

6th - 8th Grade

30 Qs

Penilaian materi power point (PPT)

Penilaian materi power point (PPT)

8th Grade

30 Qs

Kelas 8 - Halaman 31 (PTS)

Kelas 8 - Halaman 31 (PTS)

8th Grade - University

30 Qs

Latihan Assesmen Formatif Informatika  2

Latihan Assesmen Formatif Informatika 2

8th Grade

25 Qs

Lý thuyết Bài 12_13 Tin 8

Lý thuyết Bài 12_13 Tin 8

8th Grade

26 Qs

Fundamentals of Programming Quiz

Fundamentals of Programming Quiz

Assessment

Quiz

Information Technology (IT)

8th Grade

Hard

Created by

J Blakley

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

2ndNumber

number_2

number-2

number 2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would you use to store the value "Hello, World!" in Python?

Integer

String

Boolean

Float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a control structure used to repeat a block of code?

if statement

for loop

variable assignment

function definition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? ```python x = 5 print(x * 2) ```

7

10

25

52

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid data type in Python?

float

string

letter

boolean

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to define a function in Python?

function myFunction():

def myFunction():

define myFunction():

func myFunction():

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lists contains only integers?

[1, 2, 3, 4]

[1, "2", 3, 4]

[1.0, 2, 3, 4]

["one", "two", "three", "four"]

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?