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 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:

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 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:

Physical data models describe the details of how data is stored in the computers

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

Explanation:

They describe the details of how data is stored in the computers

Report Error

View Answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration

0 3164
Q:

Organisms that feed on the excreta of other organisms are called 

A) autotrophs B) heterotrophs
C) coprophagous D) saprotrophs
 
Answer & Explanation Answer: C) coprophagous

Explanation:

The word coprodaeum refers to the last part of the elimentary canal.The excreta (undigested, matter) comes out of that part. So, the organisms that take in such materials are called coprophagous.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

7 3164