Python
Movies
SQL
Cats
100

What is the output of the following code?

var1 = 1

var2 = 2

var3 = "3"

print(var1 + var2 + var3)

A. Error

B. 6

  • Error. Mixing operators between numbers and strings are not supported
100

In The Matrix, does Neo take the blue pill or the red pill?

Red Pill

100

What would you put in the blank to select all columns from a table named "Customers"?

____ * FROM customers;

A. GET

B. SELECT

C. IMPORT

B. SELECT
100

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.

200

What is the output of the following code?

str = "pynative"

 print (str[1:3])

A. py

B. yn

C. pyn

B. yn
200

For what movie did Tom Hanks receive his first Academy Award nomination.

A. Philadelphia

B. Big

C. Forrest Gump

B. Big

200

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.

200

What is a group of cat called?

A. Pride

B. Clowder

C. Clutter

B. Clowder

C. Clutter

300

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.

300

What is the first movie ever to be rated PG-13?

A. Red Dawn 

B. Gremlins

C. Indiana Jones

A. Red Dawn

300

Which SQL functions is used to count the number of rows in a SQL query?

A. COUNT

B. NUMBER

C. SUM

A. COUNT

300

What year was the first video of a cat recorded?

A. 1900

B. 1894

C. 2001

B. 1894

400

What is the output of the following code?

var= "James Bond"

 print(var[2::-1])

A. dno

B. maJ

C. Jam

B. maJ

400

What is the highest grossing rated R movie of all time?

A. The Hangover

B. Terminator 2

C. Joker

C. Joker

400

Which of the following SQL clauses specifies a search condition? 

A. FROM

B. WHERE

C. SELECT

B. WHERE

400
True or False, cats have an extra organ that allows them to taste scents in the air.

True.

Frequently cats stare with their mouth hanging open because they have an extra organ that tastes scents in the air.