Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

9th Grade

40 Qs

quiz-placeholder

Similar activities

Karel Unit Test

Karel Unit Test

12th Grade

40 Qs

AP Computer Science Principles Practice Module

AP Computer Science Principles Practice Module

11th - 12th Grade

35 Qs

String in Python

String in Python

11th Grade

43 Qs

C++ Basics

C++ Basics

University

40 Qs

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

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

10th Grade - University

40 Qs

Karel Programming

Karel Programming

10th Grade - University

39 Qs

CIA VIVA- Practical & Theory

CIA VIVA- Practical & Theory

University

40 Qs

Mirror international school

Mirror international school

10th Grade

45 Qs

Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Noel Lopes

Used 16+ 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?