Introduction to Programming Basics

Introduction to Programming Basics

8th Grade

40 Qs

quiz-placeholder

Similar activities

Massive end of KS3 Computing Quiz

Massive end of KS3 Computing Quiz

8th - 9th Grade

37 Qs

Python Basics

Python Basics

6th - 8th Grade

35 Qs

CS8 4th SW ZLGA

CS8 4th SW ZLGA

8th Grade

45 Qs

Python Quiz

Python Quiz

5th - 12th Grade

40 Qs

Python EoT term assessment

Python EoT term assessment

8th - 10th Grade

44 Qs

More About Python & AI

More About Python & AI

8th Grade

45 Qs

Year 8 Term Exam

Year 8 Term Exam

8th Grade

45 Qs

Python definite iteration

Python definite iteration

8th Grade

35 Qs

Introduction to Programming Basics

Introduction to Programming Basics

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Jet Karra

Used 6+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to start a Python script?

`begin`

`def main():`

`start`

`function main()`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

`2nd_variable`

`variable-name`

`variable_name`

`variable name`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: `print(3 + 4 * 2)`?

14

11

10

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to create a comment in Python?

`//`

`#`

`/* */`

``

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the following: `3.14`?

`int`

`float`

`str`

`bool`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a loop structure in Python?

`if`

`while`

`switch`

`case`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of `print("Hello" + "World")`?

`Hello World`

`HelloWorld`

`Hello+World`

`Hello World!`

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?