CTS & CITS Copa nimi mock test questions and answers test Part -8

 Nimi online mock test copa

COPA MCQ Part -8
COPA MCQ Part -8



NIMI Mock Test Copa is an online mock testing Web application used for testing the skills of trainees using mock tests. NIMI Mock Test App is an online mock Web application. 


 

1. 1. Difference between budgeted amounts and actual results is classified as





ANSWER= (B) Variances

 

2. Which concept of Java is a way of converting real world objects in terms of class?





ANSWER= (C) Abstraction

 

3. What will be the output of the following C code?/ #include void main() { int i = 0; while (++i) { printf( H ); } }





ANSWER= (B) H is printed infinite times

 

4. What will be the output of the following C code?/#include void main() { int i = 0; do { printf( Hello ); } while (i != 0); }





ANSWER= (C) Hello

 

5. What is the type and value of the following expression? (Notice the integer division)/ -4 + 1/2 + 2*-3 + 5.0





ANSWER= (D) Double -5.0

 

6. Which among the following best describes the Inheritance?





ANSWER= (D) Using the data and functions into derived segment

 

7. How many basic types of inheritance are provided as OOP feature?





ANSWER= (D) 4

 

8. Which among the following best defines single level inheritance?





ANSWER= (B) A class inheriting a base class

 

9. Which among the following is correct for multiple inheritance?





ANSWER= (A) class student{public: int marks;}s; class stream{int total;}; class topper:public student, public stream{ };

 

10. Which of these can be overloaded?





ANSWER= (C) Both Methods and Constructors

 

11. What is multithreaded programming?





ANSWER= (B) It’s a process in which two or more parts of same process run simultaneously/

 

12. Which of these are types of multitasking? system?





ANSWER= (C) Process and Thread based .

 

13. Thread priority in Java is-





ANSWER= (A) Integer

 

14. Which of these is not abstract?





ANSWER= (A) Thread

 

15. Which of these is not a correct statement?





ANSWER= (C) Abstract class can be initiated by new operator

Post a Comment

0 Comments