Which of the following is a Python built-in function?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
len()
Answer option 2
size()
Answer option 3
length()
Reference Link
English
What is the output of print('Hello' + 'World')?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
HelloWorld
Answer option 2
Hello World
Answer option 3
Hello+World
Reference Link
English
Which of the following is used to handle exceptions in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
try-except
Answer option 2
catch-throw
Answer option 3
error-handling
Reference Link
English
What is the output of print(type([]))?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
<class 'list'>
Answer option 2
<class 'tuple'>
Answer option 3
<class 'dict'>
English
What keyword is used to define a function in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
def
Answer option 2
func
Answer option 3
define
English
Which of the following is a mutable data type in Python?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
list
Answer option 2
tuple
Answer option 3
str
Reference Link
English
What is the output of print(2 ** 3)?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
8
Answer option 2
6
Answer option 3
9
Reference Link
English
Which of the following is a correct way to declare a dynamic type in C#?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
dynamic dynVar = 1;
Answer option 2
var dynamic dynVar = 1;
Answer option 3
dynamic var dynVar = 1;
English
What is the purpose of the 'unsafe' keyword in C#?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
To denote a block of code that uses pointers.
Answer option 2
To declare a method as static.
Answer option 3
To declare a method as virtual.
English
What is the purpose of the 'fixed' keyword in C#?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
To pin a variable in memory so that its address remains constant.
Answer option 2
To declare a method as static.
Answer option 3
To declare a method as virtual.
English