
PCED- python and 2. Data Acquisition and Pre-Processing
Quiz
•
Computers
•
Professional Development
•
Medium
Pooja Dogra
Used 3+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
1_variable
variable_1
variable-1
variable.1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(2 ** 3) in Python?
6
9
8
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to take user input in Python?
read()
gets()
input()
scan()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check the data type of a variable x in Python?
typeof(x)
checktype(x)
type(x)
datatype(x)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an immutable data type in Python?
List
Set
Dictionary
Tuple
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to define a function in Python?
def function_name():
function function_name():
define function_name():
void function_name():
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will range(5) return?
A list of numbers from 1 to 5
A list of numbers from 0 to 5
A list of numbers from 0 to 4
A list of numbers from 1 to 6
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Linguagem e Orientação a Objetos
Quiz
•
Professional Development
21 questions
Machine Learning Quis_3
Quiz
•
Professional Development
21 questions
python basic
Quiz
•
Professional Development
20 questions
Woolies team trivia
Quiz
•
Professional Development
24 questions
DATATYPES - INPUT/OUTPUT - OPERATORS
Quiz
•
Professional Development
21 questions
A+ - 19D - Identify Basics of Scripting
Quiz
•
Professional Development
20 questions
Performing Data Recording and Reporting
Quiz
•
Professional Development
25 questions
AI QUEST QUIZ ROUND-1
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade