CodeAcademy Python Test

CodeAcademy Python Test

5th Grade

10 Qs

quiz-placeholder

Similar activities

JavasCript

JavasCript

1st Grade - University

10 Qs

Quiz sobre Variables y Operadores en Python

Quiz sobre Variables y Operadores en Python

5th Grade

13 Qs

Programming C++

Programming C++

3rd - 5th Grade

10 Qs

Technology and Programming

Technology and Programming

1st - 5th Grade

10 Qs

Java String Methods and String Pool

Java String Methods and String Pool

1st - 5th Grade

13 Qs

Pictoblox 4

Pictoblox 4

3rd - 6th Grade

10 Qs

QUIZ HC Python Math & Arts

QUIZ HC Python Math & Arts

1st - 5th Grade

10 Qs

Coding: Variables

Coding: Variables

3rd - 8th Grade

12 Qs

CodeAcademy Python Test

CodeAcademy Python Test

Assessment

Quiz

Instructional Technology

5th Grade

Hard

Created by

Pham Phuc

Used 2+ times

FREE Resource

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():

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?