CodeAcademy Python Test

CodeAcademy Python Test

5th Grade

10 Qs

quiz-placeholder

Similar activities

Let's Blog About It

Let's Blog About It

3rd - 9th Grade

8 Qs

Project Planning

Project Planning

1st - 5th Grade

11 Qs

Icebreaker!

Icebreaker!

KG - 5th Grade

10 Qs

Robotics, actuators and algorithms

Robotics, actuators and algorithms

4th - 5th Grade

12 Qs

Robot vs Machine

Robot vs Machine

5th Grade

7 Qs

Công nghệ 4.0 K7 tinkercad

Công nghệ 4.0 K7 tinkercad

1st - 12th Grade

12 Qs

Balik-Tanaw

Balik-Tanaw

1st - 5th Grade

10 Qs

EBSCO e-books

EBSCO e-books

4th - 5th Grade

13 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?