What is the output of the following code?
var1 = 1
var2 = 2
var3 = "3"
print(var1 + var2 + var3)
A. Error
B. 6
In The Matrix, does Neo take the blue pill or the red pill?
Red Pill
What would you put in the blank to select all columns from a table named "Customers"?
____ * FROM customers;
A. GET
B. SELECT
C. IMPORT
True or False, cats use their tails for balance.
True.
Cats use their long tails for balance which is why they sometimes display such impressive acrobatics.
What is the output of the following code?
str = "pynative"
print (str[1:3])
A. py
B. yn
C. pyn
For what movie did Tom Hanks receive his first Academy Award nomination.
A. Philadelphia
B. Big
C. Forrest Gump
B. Big
What does the SQL FROM clause do?
A. Specifies a search condition.
B. Specifies the columns we are retrieving.
C. Specifies the tables to retrieve rows from.
C. Specifies the tables to retrieve rows from.
What is a group of cat called?
A. Pride
B. Clowder
C. Clutter
B. Clowder
C. Clutter
Yes or No, can the "else" clause be used for loops?
for i in range(1, 5):
print(i)
else:
print("this is else block statement" )
Yes.
The else block is used to check the successful execution of a loop. If the loop executed successfully without any issues, the else block executes.
What is the first movie ever to be rated PG-13?
A. Red Dawn
B. Gremlins
C. Indiana Jones
A. Red Dawn
Which SQL functions is used to count the number of rows in a SQL query?
A. COUNT
B. NUMBER
C. SUM
A. COUNT
What year was the first video of a cat recorded?
A. 1900
B. 1894
C. 2001
B. 1894
What is the output of the following code?
var= "James Bond"
print(var[2::-1])
A. dno
B. maJ
C. Jam
B. maJ
What is the highest grossing rated R movie of all time?
A. The Hangover
B. Terminator 2
C. Joker
C. Joker
Which of the following SQL clauses specifies a search condition?
A. FROM
B. WHERE
C. SELECT
B. WHERE
True.
Frequently cats stare with their mouth hanging open because they have an extra organ that tastes scents in the air.