
final round
Authored by PURVAJA RATHOD
Other
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following C++ code?
int x = 5;
cout << ++x;
4
5
6
error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an integer in C++?
2bytes
4bytes
4bits
none
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is immutable in Python?
Tuple
Dictionary
Set
list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is used to handle errors in Python?
Throw
Catch
Exception
try/except
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to create a function in Python?
def function_name[]:
function function_name():
def function_name():
function_name():
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods can be used to convert a string to an integer in Python?
int()
float()
str()
input()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which library in Python is used for data manipulation and analysis?
NumPy
Pandas
Matplotlib
Requests
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?