8
Q:

enum colors {BLACK,BLUE,GREEN}

main()

{

printf( "%d..%d..%d", BLACK, BLUE, GREEN );

return(1);

}

A) 1..2..3 B) 0..1..2
C) 1..1..1 D) 0..0..0

Answer:   B) 0..1..2



Explanation:

enum assigns numbers starting from 0, if not explicitly defined.

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

5 2277
Q:

Which Of The Following Statements Is Most Accurate For The Declaration X = Circle()?

A) x contains a reference to a Circle object B) You can assign an int value to x
C) x contains an object of the Circle type D) x contains an int value
 
Answer & Explanation Answer: A) x contains a reference to a Circle object

Explanation:
Report Error

View Answer Report Error Discuss

10 13509
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 2733
Q:

The coding or scrambling of data so that humans cannot read them, is known as _____.

A) Compression B) Encryption
C) Ergonomics D) Biometrics
 
Answer & Explanation Answer: B) Encryption

Explanation:

The coding or scrambling of data so that humans cannot read them is known as encryption.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

9 4124
Q:

In programming, repeating some statements is usually called  ?

A) Running B) Structure
C) Looping D) Control structure
 
Answer & Explanation Answer: C) Looping

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming
Job Role: Analyst , IT Trainer

6 3480
Q:

Write a quick script for launching a new activity within your application.

Answer

An explicit intent explicitly defines the activity the developer wishes to start. 


Script code :


Intent myIntent = new Intent(this, MyNewActivity.class);


startActivity(myIntent);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

15 4806
Q:

A source program is the program written in which level language  ?

A) Alpha Numeric B) High-Level
C) Symbolic D) Machine
 
Answer & Explanation Answer: B) High-Level

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming
Exam Prep: Bank Exams
Job Role: Analyst , Database Administration , IT Trainer

14 10432
Q:

What's the difference between the functions rand(), random(), srand() and randomize()?

Answer

rand()  returns a random number


random()  returns a random number in a specified range


srand()  initialise a random number generator with a given seed value


randomize()   initializes a random number generator with a random value based o time.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 4529