Professional Development

University

Image

Multithreading

76
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt

    What will happen if two thread of the same priority are called to be processed simultaneously?

    Anyone will be executed first lexographically

    Both of them will be executed simultaneously

    None of them will be executed

    It is dependent on the operating system

  • 2. Multiple Choice
    1 minute
    1 pt

    What is the priority of the thread in the following Java Program?

    class multithreaded_programing

    {

    public static void main(String args[])

    {

    Thread t = Thread.currentThread(); System.out.println(t);

    } }

    4

    5

    0

    1

  • 3. Multiple Choice
    1 minute
    1 pt

    Deadlock is a situation when thread is waiting for other thread to release acquired object.

    True

    False

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?