Exam 1 Python 101 (Tynker)

Exam 1 Python 101 (Tynker)

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Parts of Computer

Parts of Computer

11th Grade

25 Qs

Creación de Tablas en MS Word

Creación de Tablas en MS Word

10th - 12th Grade

25 Qs

Latihan PTS X TJA

Latihan PTS X TJA

10th Grade

25 Qs

HTML & CSS

HTML & CSS

12th Grade

25 Qs

ELECTRÓNICA Y ROBÓTICA

ELECTRÓNICA Y ROBÓTICA

12th Grade

25 Qs

latihan soal informatika SMALSA

latihan soal informatika SMALSA

10th Grade

25 Qs

Ôn tập kiểm tra giữa kỳ 1 khối 10 2022 - 2023

Ôn tập kiểm tra giữa kỳ 1 khối 10 2022 - 2023

1st - 12th Grade

30 Qs

TRẮC NGHIỆM TIN 4 BÀI 2: GÕ PHÍM ĐÚNG CÁCH

TRẮC NGHIỆM TIN 4 BÀI 2: GÕ PHÍM ĐÚNG CÁCH

5th Grade - University

25 Qs

Exam 1 Python 101 (Tynker)

Exam 1 Python 101 (Tynker)

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Maria Cruz Farooqi

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we call the rules for writing Python code?

Punctuation

Vocabulary

Grammar

Syntax

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid function call in Python?

forward(

forward()

forward;

forward

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How should variable and function names ideally start in Python?

With an uppercase letter

With a number

With a lowercase letter

With a symbol

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid naming convention for variables and functions in Python?

UPPERCASE

CamelCase

snake_case

kebab-case

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following identifiers is NOT valid in Python?

1forward()

ForWarD()

forward1()

oneforward()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to start a single line comment in Python?

//

#

'''

/*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a rule for naming identifiers in Python?

Can use letters and numbers

Can't begin with numbers

Can't have spaces

Must use symbols like !, -, .

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?