Sign in

Event-Driven Programming Mocktest (Midterm) BSIT - 505

Event-Driven Programming Mocktest (Midterm) BSIT - 505
61 questions • 6 mo ago
  • Xai Alexandrei Delos Reyes
  • Report

    Question list

  • 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 questions · 2 y ago

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67 questions · 2 y ago

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64 questions · 2 y ago

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23 questions · 2 y ago

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76 questions · 2 y ago

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48 questions · 2 y ago

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52 questions · 2 y ago

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40 questions · 2 y ago

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38 questions · 2 y ago

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28 questions · 2 y ago

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24 questions · 2 y ago

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26 questions · 2 y ago

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19 questions · 2 y ago

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36 questions · 2 y ago

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26 questions · 2 y ago

    Computing Mock Test Finals

    Computing Mock Test Finals

    26 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63 questions · 2 y ago

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36 questions · 2 y ago

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56 questions · 2 y ago

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45 questions · 2 y ago

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40 questions · 2 y ago

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 72 questions · 2 y ago

    Systems Administration 2nd sem (Prelims) BSIT 205

    Systems Administration 2nd sem (Prelims) BSIT 205

    72 questions • 2 y ago
    Xai Alexandrei Delos Reyes

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    Discrete Mathematics (Midterms) BSIT 205

    Discrete Mathematics (Midterms) BSIT 205

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 56 questions · 1 y ago

    Art Appreciation (Midterm) BSIT 205

    Art Appreciation (Midterm) BSIT 205

    56 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Ethics Mocktest (Midterms) BSIT205

    Ethics Mocktest (Midterms) BSIT205

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    Xai Alexandrei Delos Reyes · 61 questions · 1 y ago

    Comprog Mocktest (Midterm) BSIT 205

    Comprog Mocktest (Midterm) BSIT 205

    61 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    Xai Alexandrei Delos Reyes · 65 questions · 1 y ago

    System Administration Mocktest (Midterms) BSIT 205

    System Administration Mocktest (Midterms) BSIT 205

    65 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 49 questions · 1 y ago

    Math Mocktest (Pre-finals) BSIT 205

    Math Mocktest (Pre-finals) BSIT 205

    49 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 66 questions · 1 y ago

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    Art Appreciation Mocktest (Pre-finals) BSIT 205

    66 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 50 questions · 1 y ago

    Ethics Mocktest (Pre-finals) BSIT 205

    Ethics Mocktest (Pre-finals) BSIT 205

    50 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 33 questions · 1 y ago

    Computer Programming Mocktest (Pre-finals) BSIT 205

    Computer Programming Mocktest (Pre-finals) BSIT 205

    33 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    System Administration (Pre-finals) BSIT 205

    System Administration (Pre-finals) BSIT 205

    52 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    Xai Alexandrei Delos Reyes · 35 questions · 1 y ago

    Art Appreciation Finals BSIT 205

    Art Appreciation Finals BSIT 205

    35 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    Xai Alexandrei Delos Reyes · 52 questions · 1 y ago

    Data Structures and Algorithms (Mocktest) BSIT 307

    Data Structures and Algorithms (Mocktest) BSIT 307

    52 questions • 1 y ago
    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 questions · 1 y ago

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    Object Oriented Programming Mock Test (Mocktest) BSIT 307

    23 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 58 questions · 1 y ago

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    Human Computer Interactions Mocktest (Prelims) BSIT 307

    58 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    Xai Alexandrei Delos Reyes · 37 questions · 1 y ago

    Principles of Communication Mocktest (Prelims) BSIT 307

    Principles of Communication Mocktest (Prelims) BSIT 307

    37 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Principles of Communication Mocktest (Midterms) BSIT 307

    Principles of Communication Mocktest (Midterms) BSIT 307

    29 questions • 1 y ago
    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 questions · 1 y ago

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    Data Structures and Algorithms Mocktest (Midterm) BSIT 307

    50 questions • 1 y ago
    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 questions · 1 y ago

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    Object Oriented Programming Mock Test (Midterm) BSIT 307

    13 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Xai Alexandrei Delos Reyes · 35 questions · 1 y ago

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    Human Computer Interactions Mocktest (Midterms) BSIT 307

    35 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 16 questions · 1 y ago

    Readings In Philippine History (Midterms) Mocktest

    Readings In Philippine History (Midterms) Mocktest

    16 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    Xai Alexandrei Delos Reyes · 10 questions · 1 y ago

    Discrete Structures and Algorithms (Midterms) Mocktest

    Discrete Structures and Algorithms (Midterms) Mocktest

    10 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    Principles of Communication (Midterm) Mocktest

    Principles of Communication (Midterm) Mocktest

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    Xai Alexandrei Delos Reyes · 74 questions · 1 y ago

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    TECHNOPRENEURSHIP PRELIMS BSIT 402

    74 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 19 questions · 1 y ago

    (Prelim) PH Popular Culture Mocktest BSIT 402

    (Prelim) PH Popular Culture Mocktest BSIT 402

    19 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    Xai Alexandrei Delos Reyes · 46 questions · 1 y ago

    (Prelim) Integrative Programming BSIT 402

    (Prelim) Integrative Programming BSIT 402

    46 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 39 questions · 1 y ago

    (Prelim) Quantitive Methods Mocktest BSIT 402

    (Prelim) Quantitive Methods Mocktest BSIT 402

    39 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    Xai Alexandrei Delos Reyes · 29 questions · 1 y ago

    (Prelim) System Integration and Architecture BSIT 402

    (Prelim) System Integration and Architecture BSIT 402

    29 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 68 questions · 1 y ago

    (Prelim) Network Technology Mocktest BSIT 402

    (Prelim) Network Technology Mocktest BSIT 402

    68 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 45 questions · 1 y ago

    (Prelim) Information Management Mocktest BSIT 402

    (Prelim) Information Management Mocktest BSIT 402

    45 questions • 1 y ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 28 questions · 10 mo ago

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    (Pre-Finals) Quantitative Research Mocktest BSIT 402

    28 questions • 10 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    Xai Alexandrei Delos Reyes · 64 questions · 9 mo ago

    (Finals) Information Management Mocktest

    (Finals) Information Management Mocktest

    64 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    Xai Alexandrei Delos Reyes · 46 questions · 9 mo ago

    (Finals) Philippine Popular Culture Mocktest

    (Finals) Philippine Popular Culture Mocktest

    46 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 24 questions · 9 mo ago

    (Finals) Integrative Programming Mocktest BSIT 402

    (Finals) Integrative Programming Mocktest BSIT 402

    24 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 37 questions · 9 mo ago

    (Finals) Network Technology Mocktest BSIT 402

    (Finals) Network Technology Mocktest BSIT 402

    37 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    Xai Alexandrei Delos Reyes · 18 questions · 9 mo ago

    (Finals) Quantitative Methods Mocktest BSIT 402

    (Finals) Quantitative Methods Mocktest BSIT 402

    18 questions • 9 mo ago
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    Xai Alexandrei Delos Reyes · 72 questions · 6 mo ago

    Application Development Mocktest (Prelim) BSIT 505

    Application Development Mocktest (Prelim) BSIT 505

    72 questions • 6 mo ago
    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 questions · 6 mo ago

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    Data and Digital Communication Mocktest (Prelim) BSIT 505

    60 questions • 6 mo ago
    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 questions · 6 mo ago

    (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 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 6 mo ago

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    Enterprise Architecture Mocktest (Prelims) BSIT 505

    42 questions • 6 mo ago
    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 questions · 6 mo ago

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    Professional Issues in Information Technology Mocktest (Prelims) BSIT 505

    44 questions • 6 mo ago
    Xai Alexandrei Delos Reyes

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 6 mo ago

    Application Development Mocktest (Midterm) BSIT 505

    Application Development Mocktest (Midterm) BSIT 505

    42 questions • 6 mo ago
    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 questions · 6 mo ago

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    Data and Digital Communication Mocktest (Midterm) BSIT - 505

    80 questions • 6 mo ago
    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 questions · 5 mo ago

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    (Midterm) Advanced Systems and Integration Architecture BSIT - 505

    68 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    Xai Alexandrei Delos Reyes · 82 questions · 5 mo ago

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    (Midterm) Advanced Database Systems Mocktest BSIT - 505

    82 questions • 5 mo ago
    Xai Alexandrei Delos Reyes

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 69 questions · 5 mo ago

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    (Midterms) Enterprise Architecture Mocktest BSIT 505

    69 questions • 5 mo ago
    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 questions · 5 mo ago

    (Midterm) Professional Issues in Information Technology BSIT 505

    (Midterm) Professional Issues in Information Technology BSIT 505

    38 questions • 5 mo ago
    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 questions · 4 mo ago

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

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

    59 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 41 questions · 4 mo ago

    (Pre-finals) Application Development Mocktest BSIT 505

    (Pre-finals) Application Development Mocktest BSIT 505

    41 questions • 4 mo ago
    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 questions · 4 mo ago

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

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

    57 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 44 questions · 4 mo ago

    (Pre-Finals) ASIA Mocktest BSIT 505

    (Pre-Finals) ASIA Mocktest BSIT 505

    44 questions • 4 mo ago
    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 questions · 4 mo ago

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    (Pre-Finals) Advanced Database Systems Mocktest BSIT 505

    72 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 42 questions · 4 mo ago

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    (Pre-Finals) Enterprise Architecture Mocktest BSIT 505

    42 questions • 4 mo ago
    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 questions · 4 mo ago

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

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

    62 questions • 4 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 3 mo ago

    (Finals) Application Development Mocktest BSIT 505

    (Finals) Application Development Mocktest BSIT 505

    62 questions • 3 mo ago
    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 questions · 3 mo ago

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    (Finals) Data and Digital Communication Mocktest BSIT - 505

    61 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 62 questions · 3 mo ago

    (Finals) Advanced Database Systems Mocktest BSIT 505

    (Finals) Advanced Database Systems Mocktest BSIT 505

    62 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 60 questions · 3 mo ago

    (Finals) Enterprise Architecture Mocktest BSIT 505

    (Finals) Enterprise Architecture Mocktest BSIT 505

    60 questions • 3 mo ago
    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 questions · 3 mo ago

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    (Finals) Professional issues in Information Technology Mocktest BSIT 505

    27 questions • 3 mo ago
    Xai Alexandrei Delos Reyes

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    Xai Alexandrei Delos Reyes · 65 questions · 4 mo ago

    (Finals) Event-Driven Programming Mocktest BSIT 505

    (Finals) Event-Driven Programming Mocktest BSIT 505

    65 questions • 4 mo ago
    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 views · 42 questions · 1 mo ago

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    (Prelims) Mobile Systems and Technologies Mocktest BSIT 604

    41 views • 42 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 46 views · 75 questions · 1 mo ago

    (Prelims) Great Books Mocktest BSIT 604

    (Prelims) Great Books Mocktest BSIT 604

    46 views • 75 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    Xai Alexandrei Delos Reyes · 70 views · 94 questions · 1 mo ago

    (Prelims) Management Information Systems Mocktest BSIT - 604

    (Prelims) Management Information Systems Mocktest BSIT - 604

    70 views • 94 questions • 1 mo ago
    Xai Alexandrei Delos Reyes

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 26 views · 79 questions · 1 mo ago

    (Prelims) Programming Languages Mocktest BSIT 604

    (Prelims) Programming Languages Mocktest BSIT 604

    26 views • 79 questions • 1 mo ago
    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 views · 99 questions · 29 d ago

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    (Prelims) Web Systems and Technologies Mocktest BSIT 604

    33 views • 99 questions • 29 d ago
    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 views · 92 questions · 28 d ago

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    (Prelims) Information Assurance and Security Mocktest BSIT 604

    33 views • 92 questions • 28 d ago
    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 questions · 17 d ago

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    (Midterms) Mobile Systems and Technologies Mocktest BSIT 604

    54 questions • 17 d ago
    Xai Alexandrei Delos Reyes

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 74 questions · 11 d ago

    (Midterm) Great Books Mocktest BSIT 604

    (Midterm) Great Books Mocktest BSIT 604

    74 questions • 11 d ago
    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 · 69 questions · 4 d ago

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

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

    69 questions • 4 d ago
    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 questions · 4 d ago

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    (Midterms) 06_Handout Management Information Systems Mocktest BSIT 604

    36 questions • 4 d ago
    Xai Alexandrei Delos Reyes

    (Midterms) Programming Languages Mocktest BSIT 604

    (Midterms) Programming Languages Mocktest BSIT 604

    Xai Alexandrei Delos Reyes · 81 questions · 3 d ago

    (Midterms) Programming Languages Mocktest BSIT 604

    (Midterms) Programming Languages Mocktest BSIT 604

    81 questions • 3 d ago
    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 questions · 4 d ago

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    (Midterms) Information Assurance and Security Mocktest BSIT 604

    84 questions • 4 d ago
    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 questions · 3 d ago

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    (Midterms) Web Systems an Technologies Mocktest BSIT 604

    87 questions • 3 d ago
    Xai Alexandrei Delos Reyes

    Question list

  • 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