
V1 unit 3 and 4Quiz
Authored by Nallarasan V
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
3
4
4 is maximum
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 52 Value of x is 2
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
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following Python code?
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
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 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 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
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following code print?
[0, 2, 4]
[4, 16, 36]
[1, 2, 3]
[2, 4, 6]
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following code print?
littlelamb
mary
little
hada
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct sequence to create a database connection?
ii, i, iii, iv, viii, vii, v, vi
i, iii, ii, v, iv, vii, vi, viii
i, ii, iii, v, iv, vii, viii, 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, Connection, Statement, and ResultSet
DriverManager, Driver, Connection, and Statement
DriverManager, Driver, Connection, Statement, and ResultSet
DriverManager, Statement, and ResultSet
Access all questions and much more by creating a free account
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
Already have an account?