
PP_Lab_ESE_Batch1_Quiz_2023_24

Quiz
•
Computers
•
University
•
Medium
Narasimha Reddy Soora
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Analyze the code given in the figure and find what does the code do?
Takes an input n, computes the multiplication table of n from 1 to 10, and prints each multiplication
Takes an input n, computes the multiplication table of n from 1 to 11, and prints the final product
Takes an input n, computes the multiplication table of n from 1 to 10, and prints the final product
Takes an input n, initializes i to 1, and prints the multiplication of n and i without any loop
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Analyze the given code snippet to find the number of times "KITS Warangal", "KITS", "Warangal" and i printed respectively.
1, 5, 3, 11
(1, 6, 4, 9)
(0, 6, 4, 10)
(1, 5, 4, 10)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What happens if you try to add a new key-value pair to a dictionary using a key that already exists in the dictionary?
The new value overwrites the existing value
An error is raised as only unique key is allowed in dictionary
The dictionary becomes immutable
The new value is appended to the existing value
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Analyze the given code snippet to find it's output.
22
21
20
19
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You have given a reference t1 = (1, 2, 3) and what is the result of t1 + (4)?
(1, 2, 3, 4)
(5, 6, 7)
TypeError: can only concatenate tuple (not "int") to tuple
None of the given options
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the expression to access the value 30 for the given list x shown in the figure.
x[2]["bar"]["z"][3]
x["bar"]["z"]
x[2]["bar"]
x[2]["bar"]["z"]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code snippet.
b = "Hello 4CSM1"
print(b[-5:-2])
4CSM
4CS
o 4CS
4CSM1
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Small Basic (Turtle)

Quiz
•
KG - University
12 questions
C Basics

Quiz
•
University
15 questions
PreTest DFC20113 - Programming Fundamentals

Quiz
•
University
10 questions
OOP intro quizz

Quiz
•
University
11 questions
4.2 Types of Programming Language, Translators, and Integrated D

Quiz
•
10th Grade - University
12 questions
NCCE Year 4 Repetition in Shapes

Quiz
•
3rd Grade - University
10 questions
Data Analytics using Python - Quiz 1

Quiz
•
University
11 questions
Array

Quiz
•
University
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
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University