Programming - Output

Programming - Output

KG - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Python - Printing, Variables and Syntax

Python - Printing, Variables and Syntax

8th Grade

10 Qs

Python KS3

Python KS3

8th Grade

17 Qs

Python

Python

7th - 8th Grade

12 Qs

Introduction to Python

Introduction to Python

9th Grade

10 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

Trace Tables

Trace Tables

12th Grade

17 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Programming - Output

Programming - Output

Assessment

Quiz

Computers

KG - 12th Grade

Medium

Created by

Tezel Asena

Used 9+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code print:

print("hellworld")

hellworld

helloworld

you will get a syntax error

Null (nothing)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output?

print("james\nbond")

james\nbond

james

bond

jamesbond

syntax error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output?

print("hello"world)

syntax error

hello"world

helloworld

hello

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"Breaks down a goal or problem into smaller and manageable solutions or tasks".


What programming construct does this describe?

Abstraction

Decomposition

Pattern Recognition

Algorithm

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

Select the description that defines algorithm the most accurately.

An algorithm is a list of rules to follow in order to solve a problem.

An algorithm is a variable type used in high-level languages.

An algorithm is a low-level programming language.

An algorithm is a type of pattern recognition technique to fix hardware.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is a low-level programming language.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do we need to use in Python to add comments in our program?

/

\

*

#

@

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?