Python Basics

Quiz
•
Computers
•
KG - University
•
Hard
Aiswarya Mohan
Used 245+ 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
10 questions
Homework 3- Python

Quiz
•
8th Grade
10 questions
Python Review 2023-01-12

Quiz
•
9th - 12th Grade
15 questions
JavaScript

Quiz
•
Professional Development
10 questions
Python Dictionary

Quiz
•
KG - University
15 questions
HCI 584 Python quiz

Quiz
•
University
18 questions
Python Task

Quiz
•
12th Grade
20 questions
Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
10 questions
Homework 4- Data Types and Selection

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade