Exam 1 Python 101 (Tynker)

Exam 1 Python 101 (Tynker)

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Fundamentos de Programación

Fundamentos de Programación

9th Grade

25 Qs

Ujian Teori

Ujian Teori

11th Grade

25 Qs

mata pelajaran plbj bab 15 kelas 3

mata pelajaran plbj bab 15 kelas 3

9th - 12th Grade

25 Qs

Networks

Networks

12th Grade

25 Qs

Journey Inside

Journey Inside

9th - 11th Grade

25 Qs

Introducción a las Presentaciones Digitales

Introducción a las Presentaciones Digitales

7th - 10th Grade

25 Qs

latihan sketchup #1

latihan sketchup #1

9th Grade

25 Qs

PTS GENAP

PTS GENAP

10th Grade

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