1. What is multithreaded programming?
A . It’s a process in which two different processes run simultaneously
B . It’s a process in which two or more parts of same process run simultaneously
C . It’s a process in which many different process are able to access same information
D . It’s a process in which a single process can access information from many sources
2. Which of these are types of multitasking?
A . Process based
B . Thread based
C . Process and Thread based
D . None of the mentioned
3. Thread priority in Java is?
A . Integer
B . Float
C . double
D . long
4. What will happen if two thread of the same priority are called to be processed simultaneously?
A . Anyone will be executed first lexographically
B . Both of them will be executed simultaneously
C . None of them will be executed
D . It is dependent on the operating system
5. Which of these statements is incorrect?
A . By multithreading CPU idle time is minimized, and we can take maximum use of it
B . By multitasking CPU idle time is minimized, and we can take maximum use of it
C . Two thread in Java can have the same priority
D . A thread can exist only in two states, running and blocked
6. Which of these keywords are used to implement synchronization?
A . synchronize
B . syn
C . synch
D . synchronized
7. Which of this method is used to avoid polling in Java?
A . wait()
B . notify()
C . notifyAll()
D . all of the mentioned
8. Which of these method is used to tell the calling thread to give up a monitor and go to sleep until some other thread enters the same monitor?
A . wait()
B . notify()
C . notifyAll()
D . sleep()
9. Which of these method wakes up the first thread that called wait()?
A . wake()
B . notify()
C . start()
D . notifyAll()
10. Which of these method wakes up all the threads?
A . wakeAll()
B . notify()
C . start()
D . notifyAll()
11. What is synchronization in reference to a thread?
A . It’s a process of handling situations when two or more threads need access to a shared resource
B . It’s a process by which many thread are able to access same shared resource simultaneously
C . It’s a process by which a method is able to access many different threads simultaneously
D . It’s a method that allow too many threads to access any information the require
12. Which of these keywords are used to implement synchronization?
A . synchronize
B . syn
C . synch
D . synchronized
13. Which of these method is used to tell the calling thread to give up a monitor and go to sleep until some other thread enters the same monitor?
A . wait()
B . notify()
C . notifyAll()
D . sleep()
☞ Java Programming Objective Type Question Bank - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-1 - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-2 - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-3 - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-4 - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-5 - [ Java Programming ]
☞ R - Programming MCQs - Unit-1 - [ R-Programming ]
☞ R - Programming MCQs - Unit-2 - [ R-Programming ]
☞ R - Programming MCQs - Unit-3 - [ R-Programming ]
☞ R - Programming MCQs - Unit-4 - [ R-Programming ]
☞ R - Programming MCQs - Unit-5 - [ R-Programming ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-1 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-2 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-3 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-4 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-5 - [ FLAT ]
☞ PPS MCQs - Unit-1 - [ PPS ]
☞ PPS MCQs - Unit-2 - [ PPS ]
☞ PPS MCQs - Unit-3 - [ PPS ]
☞ PPS MCQs - Unit-4 - [ PPS ]
☞ PPS MCQs - Unit-5 - [ PPS ]
☞ Object Oriented Programming through Java MCQs - Unit-1 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-2 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-3 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-4 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-5 - [ OOP_JAVA ]
☞ Design and Analysis of Algorithms MCQs - Unit-1 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-2 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-3 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-4 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-5 - [ DAA ]
☞ Software Engineering MCQs - Unit-1 - [ SE ]
☞ Software Engineering MCQs - Unit-2 - [ SE ]
☞ Software Engineering MCQs - Unit-3 - [ SE ]
☞ Software Engineering MCQs - Unit-4 - [ SE ]
☞ Software Engineering MCQs - Unit-5 - [ SE ]
☞ Data Mining MCQs - Unit-1 - [ DM ]
☞ Data Mining MCQs - Unit-2 - [ DM ]
☞ Data Mining MCQs - Unit-3 - [ DM ]
☞ Data Mining MCQs - Unit-4 - [ DM ]
☞ Data Mining MCQs - Unit-5 - [ DM ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-1 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-2 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-3 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-4 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-5 - [ COA ]
☞ Data Structures Objective Type Question Bank-Unit-1 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-2 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-3 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-4 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-5 - [ DS ]
☞ Database Management System Objective Type Question Bank-Unit-1 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-2 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-3 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-4 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-5 - [ DBMS ]