Unit 1 Module 2 Test

Unit 1 Module 2 Test

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Pandas - CSV file

Pandas - CSV file

12th Grade

10 Qs

Post Test Bimtek Networking Diskominfotik untuk SMK

Post Test Bimtek Networking Diskominfotik untuk SMK

12th Grade

15 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

TIN HỌC 10 - BÀI 21

TIN HỌC 10 - BÀI 21

10th Grade

10 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

GCSE AQA 04 Computer Systems - Languages & Translators

GCSE AQA 04 Computer Systems - Languages & Translators

10th - 11th Grade

12 Qs

Unit 1 Module 2 Test

Unit 1 Module 2 Test

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Benjamin Dusek

Used 22+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Select the incorrect function.

print()

123_print()

Print()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

def display_name():

print("Aaron Rodgers")


Which line of code calls the function in the code above?

display_nam.run()

call(display_name)

print("aaron rodgers")

display_name()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A function with two string parameters could start with which definition?

funct_add_strings(str1,str2):

def add_strings(str1,str2):

def 2_strings(str1,str2)

FUNCTION +_strings(a,b)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

def add_num(num_1=36)

print(num_1+num_1)

Choose the correct output of calling the above function using the following code


add_num()

0

36

72

NAME Error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python function return variables can only be stored in variables.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def add_num(num1 = 10)

return num_1+num_1


Choose the correct output of calling the function above using the following code'


print(add_num(36))

36

100

360

72

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def add_numbers(num_1,num_2 = 45):

return num_1+num_2


Choose the correct output of calling the function above using the following code


print(add_numbers(23))

68

1035

90

46

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?