Introduction to Programming Basics

Introduction to Programming Basics

8th Grade

40 Qs

quiz-placeholder

Similar activities

Python Unit 01 - Introduction to Python

Python Unit 01 - Introduction to Python

7th - 9th Grade

40 Qs

الصف الثامن للشعب ( أ+ ب )

الصف الثامن للشعب ( أ+ ب )

8th Grade

35 Qs

แบบทดสอบ ทบทวนความรู้ วิชาวิทยาการคำนวณ ม.2

แบบทดสอบ ทบทวนความรู้ วิชาวิทยาการคำนวณ ม.2

8th - 9th Grade

40 Qs

qbasic

qbasic

8th Grade

38 Qs

Starting Out with Python Ch 5 Functions

Starting Out with Python Ch 5 Functions

7th - 12th Grade

35 Qs

Year 7CS_exam

Year 7CS_exam

4th - 8th Grade

37 Qs

Python Test 2

Python Test 2

7th - 12th Grade

44 Qs

Python Test

Python Test

8th - 12th Grade

40 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?