Questions

Q:

Indicate what would the SWAP macro be expanded to on preprocessing. Would the code compile?

#define SWAP (a, b, c ) (c t; t = a, a = b, b = t; )

main()

{

    int x = 10, y = 20;

    SWAP (x, y, int );

    printf ( " %d%d ", x, y);

}

Answer

( int t ; t = a, a = b, b = t ;);


This code won't compile since declaration of t cannot occur within parentheses.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3169
Q:

What is Autosys?

Answer

AutoSys is an automated job control system for scheduling, monitoring, and reporting. These jobs can reside on any AutoSys-configured machine that is attached to a network.


 


However, in real business, you need to fire jobs not just based on scheduled time, but also based on events (like an arrival of a file), and, based on the success or failure of other jobs. Autosys is a total job scheduling solution that allows you to define these events, dependencies, time schedules, alerts, etc, making it a complete data center automation tool.

Report Error

View answer Workspace Report Error Discuss

12 3168
Q:

You heard me before and then again. Afterward I die until you call me again.

What am I? 

Answer

ECHO.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

10 3168
Q:

Processing speed of computer is measured in MIPS.

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

Explanation:

Million Instructions Per Second is a method of measuring the raw speed of a computer's processor. MIPS measures roughly the number of machine instructions that a computer can execute in one second.

Report Error

View Answer Workspace Report Error Discuss

2 3168
Q:

public static void main string[] args Meaning is?

Answer

Here in this declaration public static void main string[] args, each keyword has its importance.


 


1. public - Here public is an access specifier which allows the main method to be accessible everywhere.


 


2. static - static helps the main method to get loaded without getting called by any instance/object.


 


3. void - void clarifies that the main method will not return any value.


 


4. main - It's the name of the method.


 


5. String[] args - Here we are defining a String array to pass arguments at the command line. args is the variable name of the String array.

Report Error

View answer Workspace Report Error Discuss

8 3167
Q:

Pain controlling chemicals in the body are called

A) Endorphins B) Neural regulators
C) Androgens D) Histamines
 
Answer & Explanation Answer: A) Endorphins

Explanation:

Endorphins are called pain controlling chemicals in the body.

Report Error

View Answer Report Error Discuss

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

3 3166
Q:

Delonix regia Rafin is the scientific name of

A) Banyan B) Gulmohar
C) Tamarind D) Chiku
 
Answer & Explanation Answer: B) Gulmohar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

3 3166
Q:

What is the retirement age of the Prime Minister of India?

A) 60 years B) 70 years
C) 65 years D) No limit
 
Answer & Explanation Answer: D) No limit

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams , CAT

0 3166