Exam 1 Python 101 (Tynker)

Exam 1 Python 101 (Tynker)

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

File Organization - Information Processing Part 2

File Organization - Information Processing Part 2

5th - 12th Grade

25 Qs

Keyboard Mastery

Keyboard Mastery

10th - 11th Grade

25 Qs

web development

web development

10th Grade

25 Qs

Sistemas Operativos

Sistemas Operativos

10th Grade - University

25 Qs

SEARCH FOR QUIZPICABLE TEAM

SEARCH FOR QUIZPICABLE TEAM

12th Grade

25 Qs

Green St Patrick's Day

Green St Patrick's Day

12th Grade

25 Qs

Kuis AP (Var, If, Looping)

Kuis AP (Var, If, Looping)

11th Grade

25 Qs

2.7 System Software

2.7 System Software

12th 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 1+ times

FREE Resource

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 !, -, .

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?