Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

9th Grade

40 Qs

quiz-placeholder

Similar activities

Variable Methods in Python

Variable Methods in Python

12th Grade

35 Qs

Spring Final Review Part II

Spring Final Review Part II

9th - 12th Grade

35 Qs

PLTW CSIM Lesson 1 Assessment

PLTW CSIM Lesson 1 Assessment

5th - 9th Grade

35 Qs

Python 3rd Q Review

Python 3rd Q Review

9th - 12th Grade

37 Qs

CIA VIVA- Practical & Theory

CIA VIVA- Practical & Theory

University

40 Qs

C++ Basics

C++ Basics

University

40 Qs

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

10th Grade 10  - IT Programming - 2nd Cycle Exam

10th Grade 10 - IT Programming - 2nd Cycle Exam

10th Grade - University

40 Qs

Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Noel Lopes

Used 15+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The rules used to write a language is called...

String

Syntax

Sync

Solution

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function is called to display a message on the screen?

input

int

print

chr

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable used for?

To display a message.

A place for hiding data.

A place for storing data.

To perform calculations.

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which symbol needs to be at the beginning and end of a string?

()

'

#

"

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operator is used to assign a value?

<=

==

!=

=

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The == operator is used to ______ a value.

change

compare

assign

add

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Look at the code shown.

What is the output of this code?

practice makes perfect

line

perfect makes practice

print(line)

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?