CodeAcademy Python Test

CodeAcademy Python Test

5th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz sobre Variables y Operadores en Python

Quiz sobre Variables y Operadores en Python

5th Grade

13 Qs

Examen de python

Examen de python

1st - 12th Grade

10 Qs

Xamarin 01

Xamarin 01

1st - 5th Grade

10 Qs

Java String Methods and String Pool

Java String Methods and String Pool

1st - 5th Grade

13 Qs

QUIZ HC Python Math & Arts

QUIZ HC Python Math & Arts

1st - 5th Grade

10 Qs

SEI and DSI Product Training Review

SEI and DSI Product Training Review

5th Grade

10 Qs

Les Bases du Dessin Industriel

Les Bases du Dessin Industriel

1st - 5th Grade

10 Qs

Controladores

Controladores

2nd Grade - University

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