CodeX - Coding Club Of It Department, FIEM

CodeX - Coding Club Of It Department, FIEM CodeX aims to establish a coding culture in the IT department, reaching every student passionate about coding.

29/05/2022

What is the process of defining more than one method in a class differentiated by method signature?
a) Function overriding
b) Function overloading
c) Function doubling
d) None of the mentioned

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

29/05/2022

In which of the following does the CricketFan class correctly inherit from the PartyAnimal class?

a) from party import PartyAnimal
b) class CricketFan(PartyAnimal)
c) an = PartyAnimal()
d) CricketFan = PartyAnimal()

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

29/05/2022

The function scanf is used to ___
a) To take logical decisions
b) Input a set of values
c) Print a set of values
d) Do mathematical manipulations

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

29/05/2022

What is abstract class in C++?
a) Any Class in C++ is an abstract class
b) Class from which any class is derived
c) Class specifically used as a base class with atleast one virtual functions
d) Class specifically used as a base class with atleast one pure virtual functions

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

15/05/2022

temp = {'GFG' : 1,
'Facebook' : 2,
'Google' : 3
}
for (key, values) in temp.items():
print(key, values, end = " ")
A) Google 3 GFG 1 Facebook 2
B) Facebook 2 GFG 1 Google 3
C) Facebook 2 Google 3 GFG 1
D) Any of the above
E) None of the above

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

15/05/2022

How structures and classes in C++ differ?
A) Structures by default hide every member whereas classes do not
B) In Structures, members are public by default whereas, in Classes, they are private by default
C) Structures cannot have private members whereas classes can have
D) In Structures, members are private by default whereas, in Classes, they are public by default

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

15/05/2022

What is the output of the Java code snippet?
int a=5, b=9;
boolean c = a>1 || b++

15/05/2022

What is the output of C program with .?
CVV 156
int main()
{
int a=10;
a = a*CVV;
printf("CVV=%d",a);
return 0;
}
A) 0
B) 1560
C) 1560
D) Compiler error

Comment down your answers!
Correct answer will be provided just after 24hrs in comment section.

08/05/2022

Which of the following approach is used by C++?
a) Left-right
b) Right-left
c) Bottom-up
d) Top-down

Comment down your answer!
Correct answer will be provided after 24hrs.

08/05/2022

Which of the following is a superclass of every class in Java?
a) Array List
b) Abstract class
c) Object class
d) String

Comment down your answer!
Correct answer will be provided after 24hrs.

08/05/2022

Each overloaded function must differ

(A) either by number of arguments or by data types of arguments

(B) by number of argument

(C) by type of arguments

(D) none of the given

Comment down your answer!
Correct answer will be provided after 24hrs.

08/05/2022

Which of the following statements is correct for variable names in Python language?

a) All variable names must begin with an underscore.
b) Unlimited length
c) The variable name length is a maximum of 2.
d) All of the above

Comment down you answer!
Correct answer will be provided after 24hrs.

Address

Future Institute Of Engineering And Management
Kolkata

Website

Alerts

Be the first to know and let us send you an email when CodeX - Coding Club Of It Department, FIEM posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to CodeX - Coding Club Of It Department, FIEM:

Share