CodeAcademy Python Test

CodeAcademy Python Test

5th Grade

10 Qs

quiz-placeholder

Similar activities

MVPS Sphero License

MVPS Sphero License

5th - 7th Grade

8 Qs

Computers and Technology

Computers and Technology

5th - 6th Grade

12 Qs

Practice test 2

Practice test 2

5th Grade

10 Qs

Coding: Variables

Coding: Variables

3rd - 8th Grade

12 Qs

Revision Checkpoint-1

Revision Checkpoint-1

5th - 6th Grade

14 Qs

Genres

Genres

4th - 6th Grade

14 Qs

การออกแบบผลิตภัณฑ์ บทที่ 1

การออกแบบผลิตภัณฑ์ บทที่ 1

5th Grade

15 Qs

Parts of a Computer Unit Review- Purple Week

Parts of a Computer Unit Review- Purple Week

3rd - 5th Grade

11 Qs

CodeAcademy Python Test

CodeAcademy Python Test

Assessment

Quiz

Instructional Technology

5th Grade

Practice Problem

Hard

Created by

Pham Phuc

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What programming language is popular in 2024?

Python

Scratch

C++

C#

HTML

2.

FILL IN THE BLANK QUESTION

1 min • 10 pts

C++ is a...

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

How can we talk in Python?

print ("Hello")

printf("Hello)

print("Hello")

print <fuction> sp"

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the output of the following Python code?

x = 5
y = 3
print(x + y)

8

15

53

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which data type is used to store a single character in Python?

int

char

string

float

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the correct way to comment a single line in Python?

// This is a comment

/* This is a comment */

# This is a comment

%% This is a comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the correct way to define a function in Python?

def my_function():

function my_function():

define my_function():

function = my_function():

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?