Python Fundamentals Assessment

Python Fundamentals Assessment

University

13 Qs

quiz-placeholder

Similar activities

R U Smarter than a 9th Grader

R U Smarter than a 9th Grader

KG - University

11 Qs

VII.ASB PENDIDIKAN PANCASILA

VII.ASB PENDIDIKAN PANCASILA

8th Grade - University

10 Qs

LKPD_Perencanaan1

LKPD_Perencanaan1

University

13 Qs

Linguistics Quiz 1

Linguistics Quiz 1

University

15 Qs

1.1.2 Creation of Agency

1.1.2 Creation of Agency

University

9 Qs

MGT 269 Chapter 6: Job Application Letter & Resume

MGT 269 Chapter 6: Job Application Letter & Resume

University

10 Qs

QUIZ SAMARU SNBT FATISDA 2024

QUIZ SAMARU SNBT FATISDA 2024

University

10 Qs

QUIZ RONTGEN 1

QUIZ RONTGEN 1

University

10 Qs

Python Fundamentals Assessment

Python Fundamentals Assessment

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

Joshua Miguel Abis

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to output "Hello World" in Python

console.log('Hello World')

write('Hello World')

puts 'Hello World'

b) print("Hello World")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the result of: type(3.5)? a) int b) float c) str d) bool

list

char

dict

b) float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a mutable data type in Python? a) tuple b) int c) list d) str

b) float

a) set

c) list

d) complex

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code? x = 5 if x > 3: print("A") elif x < 10: print("B") a) A b) B c) AB d) Error

A

No output

C

A and B

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which keyword is used to skip the rest of the code inside a loop for the current iteration? a) break b) exit c) pass d) continue

d) continue

loop

skip

halt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

continue stops the loop entirely.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings are immutable in Python.

True

False

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?