Python PCEP Flashcard #1

Python PCEP Flashcard #1

Assessment

Flashcard

Practice Problem

Hard

data types

Standards-aligned

Created by

Wayground Content

Used 3+ times

FREE Resource

Student preview

quiz-placeholder

27 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will the output be from the following Python code?
print(3+4)

Back

7

2.

FLASHCARD QUESTION

Front

What will be the output from the following Python code?
print("3+4")

Back

3+4

3.

FLASHCARD QUESTION

Front

Which of the following data types can consist of numbers, alphabets and symbols? String, Integer, Float, Boolean

Back

String

4.

FLASHCARD QUESTION

Front

What is a variable?

Back

A name that refers to a value.

5.

FLASHCARD QUESTION

Front

What is a comment?

Back

Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.

6.

FLASHCARD QUESTION

Front

What is an index?

Back

An integer value used to select an item in a sequence, such as a character in a string.

7.

FLASHCARD QUESTION

Front

What does an operator do in Python code?

Back

It is a special symbol that represents a simple computation like addition, multiplication, or string concatenation.

Access all questions and much more by creating a free account

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

Already have an account?