Data science MCQs With Answers – Csethings

Question 1: From the expression, X= a+bc, a’ is called 

Options : 

a. Operator

b. Special character

c. Value

d. Operand

Answers :d. Operand

Question 2: Which of the following control statement is used to terminate the loop?

Options : 

a. next

b. switch

c. break

d. with

Answers : c. break

Question 3: In general, which is not a valid data type?

Options : 

a. Numeric

b. Alpha numeric

c. Character

d. Integer

Answers : b. Alpha numeric

Question 4 : Total number of ASCII characters used for programming are:-

Options : 

a. 256

b. 127

c. 128

d. 150

Answers : a. 256

Question 5: Consider the code below and identify the data type of the variable ‘X
          X = “cust-45963”

Options : 

a. complex

b. string

c. integer

d. boolean

Answers : b. string

Question 6: Which of the following variable(s) is/are character data types?

Options : 

a. X=“1”

b.  

c. X= “?”

d. All of the above

Answers : d. All of the above

Question  7: Which of the following is not a numeric datatype?

Options : 

a. integer

b. float

c. double

d. boolean

Answers : d. boolean

Question  8: What does the extension “.csv” mean?

Options : 

a. command separated value

b. comma separated value

c. comma separated variable

d. None of the above

Answers : c. comma separated value

Question  9: Output for the bitwise operations 3&5 is

Options : 

a. 3

b. 1

c. 5

d. 7

Answers : b. 1

Question  10: Output for the bitwise operations 3&5 is

Options : 

a. 3

b. 1

c. 5

d. 7

Answers : b. 1

Question  11: Which of the following operators returns a boolean output?

Options : 

a. AND

b. NOR

c. NOT

d. All of the above

Answers : d. All of the above

Question  12: Which of the following operators returns a boolean output?

Options : 

a. AND

b. NOR

c. NOT

d. All of the above

Answers : d. All of the above

Question  13 : Which of the following operator is a relational operator?

Options : 

a. AND (&)

b. Not (!)

c. Greater than (>)

d.  

Answers : c. Greater than (>)

Question  14: Lottery tokens are numbered from 1 to 25. What is the probability that a token drawn is a multiple of 5 or 7?

Options : 

a. 12/25

b. 14/25

c. 8/25

d. 17/25

Answers : c. 8/25

Question  15 : Which of the following operator is a relational operator?

Options : 

a. AND (&)

b. Not (!)

c. Greater than (>)

d.  

Answers : c. Greater than (>)

Leave a Reply