Questions

Q:

Rewrite the following set of statements using conditional operators.

int a =1, b ;

if ( a > 10 )

b = 20; 

Answer

int a = 1, b , dummy;


a > 10 ? b = 20 : dummy =1;


 


Note that the following would not have worked:


a > 10 ? b = 20 : ;;


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

3 5004
Q:

Can character data be stored in computer memory? 

A) Yes---a primitive data type is used to store characters B) No---computer memory can only store patterns
C) Yes---characters are stored in special memory D) No---computers can only store numbers
 
Answer & Explanation Answer: A) Yes---a primitive data type is used to store characters

Explanation:
Report Error

View Answer Report Error Discuss

7 5002
Q:

What is the slogan of the Pradhan Mantri Jan Dhan Yojana?

A) Kal ki Fikr Nahin B) Mera Khata Bhagya Vidhata
C) Sabka Saath Sabka Vikas D) None of the above
 
Answer & Explanation Answer: B) Mera Khata Bhagya Vidhata

Explanation:

The slogan of the Pradhan Mantri Jan Dhan Yojana (PMJY) introduced by PM Narendra Modi is Mera Khata Bhagya Vidhata.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 5002
Q:

RIP- Routing Information Protocol

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

It is a simple protocol used to exchange information between the routers.

Report Error

View Answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 5001
Q:

The command to eliminate a table from a database is

A) REMOVE TABLE CUSTOMER; B) UPDATE TABLE CUSTOMER;
C) DELETE TABLE CUSTOMER; D) DROP TABLE CUSTOMER;
 
Answer & Explanation Answer: D) DROP TABLE CUSTOMER;

Explanation:

The SQL DROP TABLE statement is used to remove a table definition and all data, indexes,...

Report Error

View Answer Report Error Discuss

36 4999
Q:

Plant development is influenced by

A) quality, quantity and duration of light B) quality and duration of light
C) quality and quantity of light D) quality of light only
 
Answer & Explanation Answer: A) quality, quantity and duration of light

Explanation:

Plant_development_is_influenced_by1553061037.jpg image

Plant development is influenced by quality, quantity and duration of light. Plants cannot get too much light, but they can get too much of the heat energy that comes with the light.

 

Plants requires what quantity of light?

 

* Most of the garden vegetables require full sun, i.e 6 - 8 hrs of direct sunlight daily.

* Plants that grow in partial sun only need 3 - 4 hrs of direct sunlight daily.

* While plants that thrive in shade need less than 2 hours of sunlight daily.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams , AIEEE
Job Role: Bank Clerk , Analyst

3 4998
Q:

Logical puzzle

You have 10 coins….arrange them in 4 straight lines such that each line contains 4 coins.

Report Error

View answer Workspace Report Error Discuss

27 4998
Q:

What group sets hunting regulations in most states?

A) Forest management agency B) Head hunting firms agency
C) Hunting outfitters agency D) A wildlife management agency
 
Answer & Explanation Answer: D) A wildlife management agency

Explanation:

A wildlife management agency sets hunting regulations in most states.

 

hunting_regulations1531455978.jpg image

 

These agencies will have regular meetings where the public can voice their concerns and make suggestions. Hunters wishing to propose changes to the regulations should participate in these meetings or join a hunting organization that interacts with the agency.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

3 4995