PCEP-Python Programming-Lesson 1 Quiz

PCEP-Python Programming-Lesson 1 Quiz

Professional Development

22 Qs

quiz-placeholder

Similar activities

PYTHON ::04

PYTHON ::04

University - Professional Development

17 Qs

ZeroToMastery

ZeroToMastery

University - Professional Development

20 Qs

Chapter1

Chapter1

Professional Development

20 Qs

Python Basic

Python Basic

Professional Development

19 Qs

Python

Python

Professional Development

20 Qs

DATATYPES - INPUT/OUTPUT - OPERATORS

DATATYPES - INPUT/OUTPUT - OPERATORS

Professional Development

24 Qs

Assessment #2

Assessment #2

5th Grade - Professional Development

20 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

PCEP-Python Programming-Lesson 1 Quiz

PCEP-Python Programming-Lesson 1 Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Pooja Dogra

Used 1+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a programming language?

A set of rules for solving math problems

A way for computers to communicate with each other

A way for humans to communicate instructions to a computer

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "syntax" refer to in programming?

The order of execution of commands

The rules that define the structure of code

The speed of program execution

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about Python?

Python is a compiled language

Python is case-sensitive

Python does not support object-oriented programming

Python uses braces ({}) for blocks

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files?

.pyc

.python

.py

.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to denote the beginning of a block of code in Python?

Semicolon (;)

Indentation

Curly braces {}

Parentheses ()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will print("Hello World!") output?

HelloWorld

"Hello World!"

Hello World!

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comments in Python?

To debug errors in the code

To make code execute faster

To explain code for better readability

To terminate the 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?