Python MCQ Questions Set-2

python-mcq

Python MCQ Questions:- Q1. What is the output of the following code? print(type(type())) a)Error b)Null c)None d)None of the above Answer a Q2.What is the output of following code? print(type(type)) a) <class ‘type’> b)Error c) <class ‘none’> d)None of the above Answer a Q3. What is the output of following code? class cc: def f1(self,a,b): … Read more

Python MCQ Questions Set-1

python-mcq

This Python MCQ Questions and Answers are based on important and latest topics of Python programming. Q1: What will be the output of the following Python code? class A(): def disp(self): print(“A disp()”) class B(A): pass obj = B() obj.disp() a) Invalid syntax for inheritance b) Error because when object is created, argument must be … Read more

DBMS MCQ Questions and Answer Set-8

DBMS-MCQ

1. Aggregate functions are functions that take a ___________ as input and return a single value. a) Collection of values b) Single value c) Aggregate value d) Both Collection of values & Single value Answer: a 2. SELECT __________FROM instructor WHERE dept name= ’Comp. Sci.’; Which of the following should be used to find the … Read more

DBMS MCQ Questions and Answer Set-7

DBMS-MCQ

This article includes the latest and most important DBMS MCQ questions which are very important regarding interviews. 1. Consider a Payment table with attributes PAY_ID (Primary Key), PAY_DT, PAY_AMT, BANK_ACCT, INIT_NAME, and PAY_MODE. Except for PAY_ID, no columns are unique. The table has three indexes as follows: IDX1 – PAY_ID IDX2 – BANK_ACCT, PAY_AMT IDX3 … Read more