ログイン

Event-Driven Programming Mocktest (Midterm) BSIT - 505

Event-Driven Programming Mocktest (Midterm) BSIT - 505
61問 • 6ヶ月前
  • Xai Alexandrei Delos Reyes
  • 通報

    問題一覧

  • 1

    The exception _______ is called when the execution stack is exhausted by having too many pending method calls.

    System.StackOverflowException

  • 2

    class Program { static void Main() { Thread.CurrentThread.Name = "Primary Thread"; Console.WriteLine("Running on: " + Thread.CurrentThread.Name); Thread worker = new Thread(new ThreadStart(DoWork)); worker.Name = "Worker Thread"; worker.Start(); } static void DoWork() { Console.WriteLine("Running on: " + Thread.CurrentThread.Name); } } What will be the output of this program?

    Running on: Primary Thread Running on: Worker Thread

  • 3

    A thread has finished its task.

    Stopped

  • 4

    It is used to get or set the name of the thread

    Name

  • 5

    It interrupts the thread that is in the state of WaitSleepJoin

    public void Interrupt()

  • 6

    is represented by classes. All the exceptions are subclasses in this built-in exception class, wherein it is a part of namespace System.

    Exception

  • 7

    These exceptions are user program-generated.

    ApplicationException

  • 8

    These exceptions are generated by Common Language Runtime (CLR).

    SystemException

  • 9

    This is at the top of the standards’ exceptions hierarchy. The runtime system in C# generates all the exceptions.

    System.Exception

  • 10

    Errors in arithmetic or conversion operation will be thrown in this exception.

    System.ArithmeticException

  • 11

    When an overflow occurs in a checked operation, it will be thrown in _______.

    System.OverflowException

  • 12

    Any invalid argument in a method will be thrown in this exception.

    System.ArgumentException

  • 13

    If there is an unacceptable argument passed to a method, it will be thrown in _______.

    System.ArgumentNullException

  • 14

    Throw in this exception when attempting to index an array through an index that is either less than zero or greater than the maximum length of index.

    System.IndexOutOfRangeException

  • 15

    If the available memory becomes too low to accommodate a memory allocation request, it will be thrown in ________.

    System.OutOfMemoryException

  • 16

    The exception _______ is called when the execution stack is exhausted by having too many pending method calls.

    System.StackOverflowException

  • 17

    This exception checks the format of the string or argument if it is invalid.

    System.FormatException

  • 18

    This keyword is used to check for the occurrence of any exceptions enclosed to it.

    try

  • 19

    This keyword catches the exception that is thrown on the occurrence of exception in a try block.

    catch

  • 20

    It is used to throw an exception manually.

    throw

  • 21

    This keyword executes a given statement even if the exception is thrown or not thrown. This block cannot transfer control by using break, continue, return, or goto.

    finally

  • 22

    Manually throwing using the throw keyword can also be used. The syntax is?

    throw new exception_Object;

  • 23

    The ______ is an instance of a class derived from the Exception class.

    exception_Object

  • 24

    In creating an instance of Exception_object, what keyword is used?

    new

  • 25

    try{ int num1, num2; num1 = 0; num2 = 55 / y; Console.Write("Answer: " + x); } catch(ArithmeticException ex) { Console.Write(" B "); } finally { Console.Write(" C "); } Which of the following outputs is correct based on the given code?

    B C

  • 26

    What will be the output of the code below? try{ Console.WriteLine("Exception:" + " " + 25 / Convert.ToInt32()); } catch(ArithmeticException ex) { Console.WriteLine("Divide By Zero Error"); }

    Divide By Zero Error

  • 27

    What keyword is used to re-throw an exception?

    throw

  • 28

    Which of the following outputs is correct based on the given code? try { int[] arr = {1, 2, 3, 4, 5}; for(int i = 0; i < 5; i++){ Console.WriteLine(arr[i]); } } catch(IndexOutOfRangeException ie) { Console.WriteLine("Index Out Of Range Exception"); } catch(ArithmeticException ae){ Console.WriteLine("Arithmetic Exception"); } Console.ReadLine();

    1 2 3 4 5

  • 29

    Which of the following outputs of the code will show? try { int[] numArr = {15, 22, 143, 54, 85}; for(int i = 0; i < 6; i++){ Console.Write(numArr[i] + ", "); } } catch(IndexOutOfRangeException ex){ Console.Write("Index Out Of Range!"); } Console.ReadLine();

    15, 22, 143, 54, 85, Index Out Of Range!

  • 30

    What is the syntax of creating a custom exception?

    public class CustomizeException: Exception{ }

  • 31

    This is a class in C#.net that can be found in the System.Threading namespace. It is used to create and control threads in a system or application, in which the properties and methods are already provided.

    Thread

  • 32

    Which statement is NOT TRUE for Thread?

    These are always generated by Common Language Runtime (CLR).

  • 33

    When using the Thread class, the first thread to be performed in a process is known as the _______?

    Main Thread

  • 34

    The other threads that are made using the Thread class are known as the _____ of the main thread.

    Child Thread

  • 35

    Which is the correct syntax for creating a Main thread?

    Thread basicThread = Thread.CurrentThread; basicThread.Name = "Basic C# Thread"; Console.WriteLine("Current Thread: {0}", basicThread.Name);

  • 36

    Creating a child thread for the main thread should write or create a delegate object, passing a callback method to it as a parameter.

    True

  • 37

    In Child Thread, When the thread object is created, the delegate will be used to initialize the thread object.

    True

  • 38

    In Child Thread, To define a callback method in the delegate, use ThreadStart to execute the code when the thread started.

    True

  • 39

    In Child Thread, A ThreadStart delegate represents a method that runs in the Thread class.

    True

  • 40

    class Program { static void Main() { Thread.CurrentThread.Name = "Primary Thread"; Console.WriteLine("Running on: " + Thread.CurrentThread.Name); Thread worker = new Thread(new ThreadStart(DoWork)); worker.Name = "Worker Thread"; worker.Start(); } static void DoWork() { Console.WriteLine("Running on: " + Thread.CurrentThread.Name); } } What will be the output of this program?

    Running on: Primary Thread Running on: Worker Thread

  • 41

    A thread is created within the Common Language Runtime (CLR) but has not started.

    Unstarted

  • 42

    A thread is ready to run and is waiting for the CPU time.

    Ready

  • 43

    A thread is in this mode after invoking its Start method

    Running

  • 44

    A running thread is suspended temporarily by invoking either this method or the monitor’s Wait method.

    WaitSleepJoin

  • 45

    A suspended thread resumes to this state when the conditions for which is it was suspended are no longer valid.

    Started

  • 46

    A thread is blocked when it is waiting for a resource or I/O operations.

    Blocked

  • 47

    A thread has finished its task.

    Stopped

  • 48

    It returns the current thread that is running.

    CurrentThread

  • 49

    It returns a Boolean value indicating the execution status of the recent thread.

    IsAlive

  • 50

    It is used to get or set a value that indicates whether the thread is a background thread or not.

    IsBackground

  • 51

    It is used to get or set the name of the thread

    Name

  • 52

    It is used to get or set a value that represents the priority of a thread.

    Priority

  • 53

    It is used to get the value that contains the states of the recent thread

    ThreadState

  • 54

    It terminates the thread when calling this method and raises ThreadAbortException in the thread

    public void Abort()

  • 55

    It interrupts the thread that is in the state of WaitSleepJoin

    public void Interrupt()

  • 56

    It is used to stop the calling thread until a thread terminates.

    public void Join()

  • 57

    It is used to withdraw an abort request for the ongoing thread.

    public static void ResetAbort()

  • 58

    It is used to start a thread.

    public void Start()

  • 59

    It is used to pause a thread for the stated number in milliseconds

    public static void Sleep()

  • 60

    When The two (2) child threads are gotten from the same resource simultaneously for manipulation, which is known as ______

    Race condition

  • 61

    It is a common feature that allows your application to have more than (1) execution path at the same time.

    Multithreading

  • The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 58問 · 2年前

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67問 · 2年前

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64問 · 2年前

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23問 · 2年前

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76問 · 2年前

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48問 · 2年前

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52問 · 2年前

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52問 • 2年前
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40問 · 2年前

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38問 · 2年前

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38問 • 2年前
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28問 · 2年前

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24問 · 2年前

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24問 • 2年前
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19問 · 2年前

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36問 · 2年前

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computing Mock Test Finals

    Computing Mock Test Finals

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63問 · 2年前

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63問 • 2年前
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36問 · 2年前

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36問 • 2年前
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56問 · 2年前

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56問 • 2年前
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45問 · 2年前

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45問 • 2年前
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40問 · 2年前

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40問 • 2年前
    Xai Alexandrei Delos Reyes

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 72問 · 2年前

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    72問 • 2年前
    Xai Alexandrei Delos Reyes

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 52問 · 1年前

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    52問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 56問 · 1年前

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    56問 • 1年前
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 61問 · 1年前

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    61問 • 1年前
    Xai Alexandrei Delos Reyes

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 65問 · 1年前

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    65問 • 1年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 49問 · 1年前

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    49問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 66問 · 1年前

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    66問 • 1年前
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 50問 · 1年前

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    50問 • 1年前
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 33問 · 1年前

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    33問 • 1年前
    Xai Alexandrei Delos Reyes

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 52問 · 1年前

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    52問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    Xai Alexandrei Delos Reyes · 35問 · 1年前

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    35問 • 1年前
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 52問 · 1年前

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    52問 • 1年前
    Xai Alexandrei Delos Reyes

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 23問 · 1年前

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    23問 • 1年前
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 58問 · 1年前

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    58問 • 1年前
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 37問 · 1年前

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    37問 • 1年前
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Xai Alexandrei Delos Reyes · 50問 · 1年前

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    50問 • 1年前
    Xai Alexandrei Delos Reyes

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Xai Alexandrei Delos Reyes · 13問 · 1年前

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    13問 • 1年前
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 35問 · 1年前

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    35問 • 1年前
    Xai Alexandrei Delos Reyes

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 16問 · 1年前

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    16問 • 1年前
    Xai Alexandrei Delos Reyes

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 10問 · 1年前

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    10問 • 1年前
    Xai Alexandrei Delos Reyes

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    Xai Alexandrei Delos Reyes · 74問 · 1年前

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    74問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 19問 · 1年前

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    19問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    Xai Alexandrei Delos Reyes · 46問 · 1年前

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    46問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 39問 · 1年前

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    39問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    Xai Alexandrei Delos Reyes · 29問 · 1年前

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    29問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 68問 · 1年前

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    68問 • 1年前
    Xai Alexandrei Delos Reyes

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 45問 · 1年前

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    45問 • 1年前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 28問 · 10ヶ月前

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    28問 • 10ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    Xai Alexandrei Delos Reyes · 64問 · 9ヶ月前

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    64問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    Xai Alexandrei Delos Reyes · 46問 · 9ヶ月前

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    46問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 24問 · 9ヶ月前

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    24問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 37問 · 9ヶ月前

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    37問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 18問 · 9ヶ月前

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    18問 • 9ヶ月前
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 72問 · 6ヶ月前

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    72問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 60問 · 6ヶ月前

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    60問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 38問 · 6ヶ月前

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    (Handout 1 Only!) Advanced Systems Integration and Architecture Mocktest (Prelim) BSIT 505

    38問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 42問 · 6ヶ月前

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    42問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 44問 · 6ヶ月前

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    44問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    Xai Alexandrei Delos Reyes · 42問 · 6ヶ月前

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    42問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Xai Alexandrei Delos Reyes · 80問 · 6ヶ月前

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    80問 • 6ヶ月前
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    Xai Alexandrei Delos Reyes · 68問 · 5ヶ月前

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    68問 • 5ヶ月前
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 82問 · 5ヶ月前

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    82問 • 5ヶ月前
    Xai Alexandrei Delos Reyes

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 69問 · 5ヶ月前

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    69問 • 5ヶ月前
    Xai Alexandrei Delos Reyes

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    Xai Alexandrei Delos Reyes · 38問 · 5ヶ月前

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    38問 • 5ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 59問 · 4ヶ月前

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    (Pre-Finals)Event-Driven Programming Mocktest BSIT 505

    59問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 41問 · 4ヶ月前

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    41問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 57問 · 4ヶ月前

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    (Pre-Finals) Data and Digital Communication Mocktest BSIT 505

    57問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 44問 · 4ヶ月前

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    44問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 72問 · 4ヶ月前

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    72問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 42問 · 4ヶ月前

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    42問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62問 · 4ヶ月前

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    (Pre-Finals) Professional Issues In Information Technolog Mocktest BSIT 505

    62問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62問 · 3ヶ月前

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    62問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 61問 · 3ヶ月前

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    61問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62問 · 3ヶ月前

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    62問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 60問 · 3ヶ月前

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    60問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 27問 · 3ヶ月前

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    27問 • 3ヶ月前
    Xai Alexandrei Delos Reyes

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 65問 · 4ヶ月前

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    65問 • 4ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 41回閲覧 · 42問 · 1ヶ月前

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    41回閲覧 • 42問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 46回閲覧 · 75問 · 1ヶ月前

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    46回閲覧 • 75問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    Xai Alexandrei Delos Reyes · 70回閲覧 · 94問 · 1ヶ月前

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    70回閲覧 • 94問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 26回閲覧 · 79問 · 1ヶ月前

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    26回閲覧 • 79問 • 1ヶ月前
    Xai Alexandrei Delos Reyes

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 33回閲覧 · 99問 · 28日前

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    33回閲覧 • 99問 • 28日前
    Xai Alexandrei Delos Reyes

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 33回閲覧 · 92問 · 27日前

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    33回閲覧 • 92問 • 27日前
    Xai Alexandrei Delos Reyes

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 54問 · 16日前

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    54問 • 16日前
    Xai Alexandrei Delos Reyes

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 74問 · 10日前

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    74問 • 10日前
    Xai Alexandrei Delos Reyes

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 76問 · 3日前

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 04 to 05_Handout Management Information Systems Mocktest BSIT 604

    76問 • 3日前
    Xai Alexandrei Delos Reyes

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 36問 · 3日前

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    36問 • 3日前
    Xai Alexandrei Delos Reyes

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 84問 · 3日前

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    84問 • 3日前
    Xai Alexandrei Delos Reyes

    (Midterms) Programming Languages Mocktest BSIT 604

    (Midterms) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 81問 · 2日前

    (Midterms) Programming Languages Mocktest BSIT 604

    (Midterms) Programming Languages Mocktest BSIT 604

    81問 • 2日前
    Xai Alexandrei Delos Reyes

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 87問 · 2日前

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    87問 • 2日前
    Xai Alexandrei Delos Reyes

    問題一覧

  • 1

    The exception _______ is called when the execution stack is exhausted by having too many pending method calls.

    System.StackOverflowException

  • 2

    class Program { static void Main() { Thread.CurrentThread.Name = "Primary Thread"; Console.WriteLine("Running on: " + Thread.CurrentThread.Name); Thread worker = new Thread(new ThreadStart(DoWork)); worker.Name = "Worker Thread"; worker.Start(); } static void DoWork() { Console.WriteLine("Running on: " + Thread.CurrentThread.Name); } } What will be the output of this program?

    Running on: Primary Thread Running on: Worker Thread

  • 3

    A thread has finished its task.

    Stopped

  • 4

    It is used to get or set the name of the thread

    Name

  • 5

    It interrupts the thread that is in the state of WaitSleepJoin

    public void Interrupt()

  • 6

    is represented by classes. All the exceptions are subclasses in this built-in exception class, wherein it is a part of namespace System.

    Exception

  • 7

    These exceptions are user program-generated.

    ApplicationException

  • 8

    These exceptions are generated by Common Language Runtime (CLR).

    SystemException

  • 9

    This is at the top of the standards’ exceptions hierarchy. The runtime system in C# generates all the exceptions.

    System.Exception

  • 10

    Errors in arithmetic or conversion operation will be thrown in this exception.

    System.ArithmeticException

  • 11

    When an overflow occurs in a checked operation, it will be thrown in _______.

    System.OverflowException

  • 12

    Any invalid argument in a method will be thrown in this exception.

    System.ArgumentException

  • 13

    If there is an unacceptable argument passed to a method, it will be thrown in _______.

    System.ArgumentNullException

  • 14

    Throw in this exception when attempting to index an array through an index that is either less than zero or greater than the maximum length of index.

    System.IndexOutOfRangeException

  • 15

    If the available memory becomes too low to accommodate a memory allocation request, it will be thrown in ________.

    System.OutOfMemoryException

  • 16

    The exception _______ is called when the execution stack is exhausted by having too many pending method calls.

    System.StackOverflowException

  • 17

    This exception checks the format of the string or argument if it is invalid.

    System.FormatException

  • 18

    This keyword is used to check for the occurrence of any exceptions enclosed to it.

    try

  • 19

    This keyword catches the exception that is thrown on the occurrence of exception in a try block.

    catch

  • 20

    It is used to throw an exception manually.

    throw

  • 21

    This keyword executes a given statement even if the exception is thrown or not thrown. This block cannot transfer control by using break, continue, return, or goto.

    finally

  • 22

    Manually throwing using the throw keyword can also be used. The syntax is?

    throw new exception_Object;

  • 23

    The ______ is an instance of a class derived from the Exception class.

    exception_Object

  • 24

    In creating an instance of Exception_object, what keyword is used?

    new

  • 25

    try{ int num1, num2; num1 = 0; num2 = 55 / y; Console.Write("Answer: " + x); } catch(ArithmeticException ex) { Console.Write(" B "); } finally { Console.Write(" C "); } Which of the following outputs is correct based on the given code?

    B C

  • 26

    What will be the output of the code below? try{ Console.WriteLine("Exception:" + " " + 25 / Convert.ToInt32()); } catch(ArithmeticException ex) { Console.WriteLine("Divide By Zero Error"); }

    Divide By Zero Error

  • 27

    What keyword is used to re-throw an exception?

    throw

  • 28

    Which of the following outputs is correct based on the given code? try { int[] arr = {1, 2, 3, 4, 5}; for(int i = 0; i < 5; i++){ Console.WriteLine(arr[i]); } } catch(IndexOutOfRangeException ie) { Console.WriteLine("Index Out Of Range Exception"); } catch(ArithmeticException ae){ Console.WriteLine("Arithmetic Exception"); } Console.ReadLine();

    1 2 3 4 5

  • 29

    Which of the following outputs of the code will show? try { int[] numArr = {15, 22, 143, 54, 85}; for(int i = 0; i < 6; i++){ Console.Write(numArr[i] + ", "); } } catch(IndexOutOfRangeException ex){ Console.Write("Index Out Of Range!"); } Console.ReadLine();

    15, 22, 143, 54, 85, Index Out Of Range!

  • 30

    What is the syntax of creating a custom exception?

    public class CustomizeException: Exception{ }

  • 31

    This is a class in C#.net that can be found in the System.Threading namespace. It is used to create and control threads in a system or application, in which the properties and methods are already provided.

    Thread

  • 32

    Which statement is NOT TRUE for Thread?

    These are always generated by Common Language Runtime (CLR).

  • 33

    When using the Thread class, the first thread to be performed in a process is known as the _______?

    Main Thread

  • 34

    The other threads that are made using the Thread class are known as the _____ of the main thread.

    Child Thread

  • 35

    Which is the correct syntax for creating a Main thread?

    Thread basicThread = Thread.CurrentThread; basicThread.Name = "Basic C# Thread"; Console.WriteLine("Current Thread: {0}", basicThread.Name);

  • 36

    Creating a child thread for the main thread should write or create a delegate object, passing a callback method to it as a parameter.

    True

  • 37

    In Child Thread, When the thread object is created, the delegate will be used to initialize the thread object.

    True

  • 38

    In Child Thread, To define a callback method in the delegate, use ThreadStart to execute the code when the thread started.

    True

  • 39

    In Child Thread, A ThreadStart delegate represents a method that runs in the Thread class.

    True

  • 40

    class Program { static void Main() { Thread.CurrentThread.Name = "Primary Thread"; Console.WriteLine("Running on: " + Thread.CurrentThread.Name); Thread worker = new Thread(new ThreadStart(DoWork)); worker.Name = "Worker Thread"; worker.Start(); } static void DoWork() { Console.WriteLine("Running on: " + Thread.CurrentThread.Name); } } What will be the output of this program?

    Running on: Primary Thread Running on: Worker Thread

  • 41

    A thread is created within the Common Language Runtime (CLR) but has not started.

    Unstarted

  • 42

    A thread is ready to run and is waiting for the CPU time.

    Ready

  • 43

    A thread is in this mode after invoking its Start method

    Running

  • 44

    A running thread is suspended temporarily by invoking either this method or the monitor’s Wait method.

    WaitSleepJoin

  • 45

    A suspended thread resumes to this state when the conditions for which is it was suspended are no longer valid.

    Started

  • 46

    A thread is blocked when it is waiting for a resource or I/O operations.

    Blocked

  • 47

    A thread has finished its task.

    Stopped

  • 48

    It returns the current thread that is running.

    CurrentThread

  • 49

    It returns a Boolean value indicating the execution status of the recent thread.

    IsAlive

  • 50

    It is used to get or set a value that indicates whether the thread is a background thread or not.

    IsBackground

  • 51

    It is used to get or set the name of the thread

    Name

  • 52

    It is used to get or set a value that represents the priority of a thread.

    Priority

  • 53

    It is used to get the value that contains the states of the recent thread

    ThreadState

  • 54

    It terminates the thread when calling this method and raises ThreadAbortException in the thread

    public void Abort()

  • 55

    It interrupts the thread that is in the state of WaitSleepJoin

    public void Interrupt()

  • 56

    It is used to stop the calling thread until a thread terminates.

    public void Join()

  • 57

    It is used to withdraw an abort request for the ongoing thread.

    public static void ResetAbort()

  • 58

    It is used to start a thread.

    public void Start()

  • 59

    It is used to pause a thread for the stated number in milliseconds

    public static void Sleep()

  • 60

    When The two (2) child threads are gotten from the same resource simultaneously for manipulation, which is known as ______

    Race condition

  • 61

    It is a common feature that allows your application to have more than (1) execution path at the same time.

    Multithreading