PCEP Section 1A: Understand fundamental terms and definitions

PCEP Section 1A: Understand fundamental terms and definitions

12th Grade

15 Qs

quiz-placeholder

Similar activities

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Computer Science LISTS

Computer Science LISTS

12th Grade

18 Qs

Python Syntax

Python Syntax

6th - 12th Grade

14 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Intro to Python Programming - Year 8

Intro to Python Programming - Year 8

8th Grade - University

20 Qs

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

PCEP Section 1A: Understand fundamental terms and definitions

PCEP Section 1A: Understand fundamental terms and definitions

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Misti McDaniel

Used 22+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct file extension for a Python source file?

.py

.java

.exe

.txt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid Python identifier?

my_variable

2ndValue

_temp

value2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code? ```python print("Hello, World!") ```

Hello World!

"Hello, World!"

Hello, World!

print("Hello, World!")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best defines a variable in Python?

A reserved word used to perform a specific function

A container for storing data values

A type of loop structure

A built-in function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to assign the value 10 to a variable named `x` in Python?

x == 10

x := 10

x = 10

10 = x

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a fundamental data type in Python?

integer

string

list

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements will output the value of a variable `name` in Python?

print(name)

echo name

display(name)

show name

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?