Python Basics

Quiz
•
Computers
•
KG - University
•
Hard
Aiswarya Mohan
Used 246+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What will be the datatype of the var in the below code snippet?
float and str
number and str
int and str
number and char
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How is a code block indicated in Python?
Bracket
Indentation
Key
None of the above
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What will be the output of the following code snippet?
[2,2,3]
(2,2,3)
(1,2,3)
Error
Answer explanation
Tuples are immutable so can't be updated with a new value.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following code snippet?
int and float
float and int
float and float
int and int
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following code snippet?
15
0
20
None of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following concepts is not a part of Python?
Pointers
Loops
Dynamic typing
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following code snippet?
['Sunday','Monday','Tuesday','Wednesday']
['Monday','Tuesday','Wednesday']
['Sunday','Monday','Wednesday']
None of these
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
python basics

Quiz
•
9th - 12th Grade
15 questions
PROGRAMMING IN PYTHON - UNIT II - TEST 2 - MCQS

Quiz
•
University
10 questions
Python Quiz

Quiz
•
University
10 questions
Python Level 2- Lesson 2

Quiz
•
10th Grade
15 questions
Section 3D: Collect and process data using dictionaries

Quiz
•
12th Grade
18 questions
Python 2D Lists Quiz

Quiz
•
10th Grade
10 questions
Python Basics: Operators and Variables

Quiz
•
10th Grade
15 questions
Python Class 1

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade