Bertelsmann AI Track Quiz Initiative #3

Quiz
•
Computers, Science, Mathematics
•
University - Professional Development
•
Hard
+2
Standards-aligned
Tirtadwipa Manunggal
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is the difference between list and tuples in Python? Choose all correct answers
Lists are mutable i.e they can be edited.
Tuples are mutable i.e they can be edited.
Tuples are immutable (tuples are lists which can’t be edited).
Lists are immutable (Lists are array which can’t be edited).
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What are the key features of Python? Choose all correct answers
Python is a compiled language. That means that, like languages like C and its variants, Python does need to be compiled before it is run.
Python is dynamically typed, this means that you don’t need to state the types of variables when you declare them or anything like that.
Python is well suited to object-orientated programming in that it allows the definition of classes along with composition and inheritance.
In Python, functions are first-class objects. This means that they can be assigned to variables, returned from other functions and passed into functions.
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
How is memory managed in Python? Choose all correct answers
Memory management in python is managed by Python private heap space
Memory management in python is managed by Python private stack space
Python also has an inbuilt garbage collector which recycles all the unused memory
Memory allocation have to be managed by the programmer
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which data types are natively supported in Python? Choose all correct answers
Numbers
Strings
Tensors
Dictionaries
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A = "Bertelsman"
B = "Scholarship"
B = A.join(B)
What is the value of B?
Bertelsman Scholarship
BertelsmanScholarship
Scholarship
Error because string is immutable
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
r = lambda q: q * 2
s = lambda q: q * 3
x = 2
x = r(x)
x = s(x)
x = r(x)
print (x)
What's printed in the console?
6
12
24
48
Tags
CCSS.8.F.A.1
CCSS.HSF.IF.A.1
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a = 4.5
b = 2
print (a//b)
What's printed in the console?
0
1.0
1.5
2.0
Tags
CCSS.2.OA.C.3
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
PYTHON

Quiz
•
University
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
15 questions
Жанар214

Quiz
•
9th Grade - University
19 questions
Get started with python

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
17 questions
Java Basics

Quiz
•
Professional Development
20 questions
PY-BUILD

Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University