
Quiz 2

Quiz
•
Engineering
•
University
•
Medium
Lakshminarayanan R
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
3
4
4 is maximum
3,4
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
x is 50
Changed global x to 2
Value of x is 50
x is 50
Changed global x to 2
Value of x is 2
x is 50
Changed global x to 50
Value of x is 50
x is 50
Changed global x to 52
Value of x is 2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
a is 7 and b is 3 and c is 10
a is 25 and b is 5 and c is 24
a is 5 and b is 100 and c is 50
a is 3 and b is 7 and c is 10
a is 5 and b is 25 and c is 24
a is 50 and b is 100 and c is 5
a is 3 and b is 7 and c is 10
a is 25 and b is 5 and c is 24
a is 100 and b is 5 and c is 50
a is 3 and b is 3 and c is 10
a is 25 and b is 25 and c is 24
a is 100 and b is 5 and c is 50
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following code print?
[2, 4, 6]
[1, 2, 3]
[4, 16, 36]
[0, 2, 4]
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following code print?
mary
hada
little
littlelamb
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct sequence to create a database connection?
i. Import JDBC packages.
ii. Open a connection to the database.
iii. Load and register the JDBC driver.
iv. Execute the statement object and return a query resultset.
v. Create a statement object to perform a query.
vi. Close the resultset and statement objects.
vii. Process the resultset.
viii. Close the connection.
i, ii, iii, v, iv, vii, viii, vi
i, iii, ii, v, iv, vii, vi, viii
ii, i, iii, iv, viii, vii, v, vi
i, iii, ii, iv, v, vi, vii, viii
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What are the major components of the JDBC?
DriverManager, Driver, Connection, Statement, and ResultSet
DriverManager, Driver, Connection, and Statement
DriverManager, Statement, and ResultSet
DriverManager, Connection, Statement, and ResultSet
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Science of Speed

Quiz
•
5th Grade - University
10 questions
Understanding Java and SQL Concepts

Quiz
•
University
15 questions
Digital Electronics Quiz -U1-U2

Quiz
•
University
15 questions
Web3 and Blockchain Challenge

Quiz
•
University
10 questions
engineers day

Quiz
•
University
10 questions
Exploring the 8086 Microprocessor

Quiz
•
University
13 questions
Safe Practices

Quiz
•
12th Grade - University
14 questions
NLP Quizz Unit-3

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 Engineering
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