Technical Questions

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

The main interface in Windows and OS X is __________ interface.

A) Command-line B) Embedded
C) Neural D) Graphical
 
Answer & Explanation Answer: D) Graphical

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams
Job Role: Analyst , Bank Clerk , IT Trainer

15 8372
Q:

Unreachable code would best be found using

A) code inspections B) a static analysis tool
C) code reviews D) a test management tool
 
Answer & Explanation Answer: C) code reviews

Explanation:

Code review is a software quality assurance activity in which one or several humans check a program mainly by viewing and reading parts of its source code, and they do so after implementation or as an interruption of implementation.

Report Error

View Answer Report Error Discuss

14 15156
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 9964
Q:

Define latency, transfer and seek time with respect to disk I/O.

Answer

Seek time is the time required to move the disk arm to the required track. Rotational delay or latency is the time it takes for the beginning of the required sector to reach the head. Sum of seek time (if any) and latency is the access time. Time taken to actually transfer a span of data is transfer time.

Report Error

View answer Workspace Report Error Discuss

14 14234
Q:

Which of the following is not a database object in MS Access?

A) Reports B) Relationships
C) Tables D) Queries
 
Answer & Explanation Answer: B) Relationships

Explanation:

Queries, reports and tables are all related to database and relationships are not the database object and it is related to functions in mathyematics.

 Which_of_the_following_is_not_a_database_object_in_MS_Access1558073404.png image

Report Error

View Answer Report Error Discuss

14 23800
Q:

#define clrscr() 100

main()

{

clrscr();

printf( "%dn", clrscr() );

}

A) 100 B) 0
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: A) 100

Explanation:

Preprocessor executes as a seperate pass before the execution of the compiler. So textual replacement of clrscr() to 100 occurs.The input program to compiler looks like this :

main ()

{

100;

printf("%d\n",100);

}

Note: 100; is an executable statement but with no action. So it doesn't give any problem.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

13 22389
Q:

What are the typical elements of a process image?

Answer

User data: Modifiable part of user space. May include program data, user stack area, and programs that may be modified.


User program: The instructions to be executed.


System Stack: Each process has one or more LIFO stacks associated with it. Used to store parameters and calling addresses for procedure and system calls.


Process control Block (PCB): Info needed by the OS to control processes.

Report Error

View answer Workspace Report Error Discuss

13 17724