Parallel Computing MCQs A.J. Bhatti February 23, 2021 Welcome to your Parallel Computing MCQs Name Email 1. In Access to open new database press (A) CTRL+N (B) CTRL+O (C) ALT+F4 (D) None of these 2. In Access to open an existing database press (A) CTRL+N (B) CTRL+O (C) ALT+F4 (D) None of these 3. In Access, to Exit Office Access 2007Access (A) CTRL+N (B) CTRL+O (C) ALT+F4 (D) None of these 4. In Access press CTRL+N to (A) Open a new database (B) Open an existing database (C) Exit Office Access 2007Access (D) None of these 5. In Access press CTRL+O to (A) Open a new database (B) Open an existing database (C) Exit Office Access 2007Access (D) None of these 6. In Access press ALT+F4 to (A) Open a new database (B) Open an existing database (C) Exit Office Access 2007Access (D) None of these 7. Press the following keys in Access to Print the current or selected object (A) CTRL+P (B) P or CTRL+P (C) S (D) C or ESC 8. Press the following keys in Access to Open the Print dialog box from Print Preview (A) CTRL+P (B) P or CTRL+P (C) S (D) C or ESC 9. Press the following keys in Access to Open the Page Setup dialog box from Print Preview (A) CTRL+P (B) P or CTRL+P (C) S (D) C or ESC 10. Press the following keys in Access to Cancel Print Preview or Layout Preview (A) CTRL+P (B) P or CTRL+P (C) S (D) C or ESC 11. Press the following keys in Access to Save a database object (A) CTRL+P (B) P or CTRL+P (C) CTRL+S or SHIFT+F12 (D) F12 12. Press the following keys in Access to Open the Save As dialog box (A) CTRL+P (B) P or CTRL+P (C) CTRL+S or SHIFT+F12 (D) F12 13. In Access to Open a combo box (A) F4 or ALT+DOWN ARROW (B) DOWN ARROW (C) PAGE DOWN (D) F9 14. In Access to Refresh the contents of a Lookup field (Lookup field: A field, used on a form or report in an Access database, that either displays a list of values retrieved from a table or query, or stores a static set of values.) list box or combo box (A) F4 or ALT+DOWN ARROW (B) DOWN ARROW (C) PAGE DOWN (D) F9 15. In Access to Move down one page (A) F4 or ALT+DOWN ARROW (B) DOWN ARROW (C) PAGE DOWN (D) F9 16. When using Access Database, use this feature to have Access select only certain records in the database to prepare form letters. (A) Report (B) Table (C) Query (D) Tools 17. In Access to Move down one line (A) F4 or ALT+DOWN ARROW (B) DOWN ARROW (C) PAGE DOWN (D) F9 18. In Access press…………………….to Move the selected control to the left (except controls that are part of a layout) (A) CTRL+C (B) CTRL+X (C) CTRL+V (D) None of these 19. In Access press …………………….to Move the selected control to the right (except controls that are part of a layout) (A) CTRL+C (B) CTRL+X (C) CTRL+V (D) None of these 20. In Access press …………………….to Paste the contents of the Clipboard in the upperleft corner of the selected section (A) CTRL+C (B) CTRL+X (C) CTRL+V (D) None of these 21. In Access press …………………….to Cut the selected control and copy it to the Clipboard (A) CTRL+C (B) CTRL+X (C) CTRL+V (D) None of these 22. In Access press …………………….to Copy the selected control to the Clipboard (A) CTRL+C (B) CTRL+X (C) CTRL+V (D) None of these 23. In Access press RIGHT ARROW or CTRL+RIGHT ARROW (A) Move the selected control to the right (except controls that are part of a layout) (B) Move the selected control to the left (except controls that are part of a layout) (C) Move the selected control up (D) None of these 24. In Access press LEFT ARROW or CTRL+LEFT ARROW (A) Move the selected control to the right (except controls that are part of a layout) (B) Move the selected control to the left (except controls that are part of a layout) (C) Move the selected control up (D) None of these 25. In Access press ALT+F11 to (A) Display the Control menu (B) Display the shortcut menu (C) Close the active window (D) None of these Parallel Computing Topic Started Click on the Next Button 1. It is the simultaneous use of multiple compute resources to solve a computational problem (A) Parallel computing (B) Single processing (C) Sequential computing (D) None of these 2. Parallel Execution (A) A sequential execution of a program, one statement at a time (B) Execution of a program by more than one task, with each task being able to execute the same or different statement at the same moment in time (C) A program or set of instructions that is executed by a processor. (D) None of these 3. Scalability refers to a parallel system’s (hardware and/or software) ability (A) To demonstrate a proportionate increase in parallel speedup with the removal of some processors (B) To demonstrate a proportionate increase in parallel speedup with the addition of more processors (C) To demonstrate a proportionate decrease in parallel speedup with the addition of more processors (D) None of these 4. Parallel computing can include (A) Single computer with multiple processors (B) Arbitrary number of computers connected by a network (C) Combination of both A and B (D) None of these 5. Serial Execution (A) A sequential execution of a program, one statement at a time (B) Execution of a program by more than one task, with each task being able to execute the same or different statement at the same moment in time (C) A program or set of instructions that is executed by a processor. (D) None of these 6. Shared Memory is (A) A computer architecture where all processors have direct access to common physical memory (B) It refers to network based memory access for physical memory that is not common. (C) Parallel tasks typically need to exchange dat(A) There are several ways this can be accomplished, such as through, a shared memory bus or over a network, however the actual event of data exchange is commonly referred to as communications regardless of the method employe(D) (D) None of these 7. Distributed Memory (A) A computer architecture where all processors have direct access to common physical memory (B) It refers to network based memory access for physical memory that is not common (C) Parallel tasks typically need to exchange dat(A) There are several ways this can be accomplished, such as through, a shared memory bus or over a network, however the actual event of data exchange is commonly referred to as communications regardless of the method employe(D) (D) None of these 8. Parallel Overhead is (A) Observed speedup of a code which has been parallelized, defined as: wall-clock time of serial execution and wall-clock time of parallel execution (B) The amount of time required to coordinate parallel tasks. It includes factors such as: Task start-up time, Synchronizations, Data communications. (C) Refers to the hardware that comprises a given parallel system - having many processors (D) None of these 9. Massively Parallel (A) Observed speedup of a code which has been parallelized, defined as: wall-clock time of serial execution and wall-clock time of parallel execution (B) The amount of time required to coordinate parallel tasks. It includes factors such as: Task start-up time, Synchronizations, Data communications. (C) Refers to the hardware that comprises a given parallel system - having many processors (D) None of these 10. Fine-grain Parallelism is (A) In parallel computing, it is a qualitative measure of the ratio of computation to communication (B) Here relatively small amounts of computational work are done between communication events (C) Relatively large amounts of computational work are done between communication / synchronization events (D) None of these 11. In shared Memory (A) Changes in a memory location effected by one processor do not affect all other processors. (B) Changes in a memory location effected by one processor are visible to all other processors (C) Changes in a memory location effected by one processor are randomly visible to all other processors. (D) None of these 12. In shared Memory: (A) Here all processors access, all memory as global address space (B) Here all processors have individual memory (C) Here some processors access, all memory as global address space and some not (D) None of these 13. In shared Memory (A) Multiple processors can operate independently but share the same memory resources (B) Multiple processors can operate independently but do not share the same memory resources (C) Multiple processors can operate independently but some do not share the same memory resources (D) None of these 14. In designing a parallel program, one has to break the problem into discreet chunks of work that can be distributed to multiple tasks. This is known as (A) Decomposition (B) Partitioning (C) Compounding (D) Both A and B 15. Latency is (A) Partitioning in that the data associated with a problem is decompose(D) Each parallel task then works on a portion of the dat(A) (B) Partitioning in that, the focus is on the computation that is to be performed rather than on the data manipulated by the computation. The problem is decomposed according to the work that must be done. Each task then performs a portion of the overall work. (C) It is the time it takes to send a minimal (0 byte) message from one point to other point (D) None of these 16. Domain Decomposition x (A) Partitioning in that the data associated with a problem is decompose(D) Each parallel task then works on a portion of the dat(A) (B) Partitioning in that, the focus is on the computation that is to be performed rather than on the data manipulated by the computation. The problem is decomposed according to the work that must be done. Each task then performs a portion of the overall work. (C) It is the time it takes to send a minimal (0 byte) message from point A to point (B) (D) None of these 17. Functional Decomposition: (A) Partitioning in that the data associated with a problem is decompose(D) Each parallel task then works on a portion of the dat(A) (B) Partitioning in that, the focus is on the computation that is to be performed rather than on the data manipulated by the computation. The problem is decomposed according to the work that must be done. Each task then performs a portion of the overall work. (C) It is the time it takes to send a minimal (0 byte) message from point A to point (B) (D) None of these 18. Synchronous communications (A) It require some type of “handshaking” between tasks that are sharing dat(A) This can be explicitly structured in code by the programmer, or it may happen at a lower level unknown to the programmer. (B) It involves data sharing between more than two tasks, which are often specified as being members in a common group, or collective. (C) It involves two tasks with one task acting as the sender/producer of data, and the other acting as the receiver/consumer. (D) It allows tasks to transfer data independently from one another. 19. Collective communication (A) It involves data sharing between more than two tasks, which are often specified as being members in a common group, or collective. (B) It involves two tasks with one task acting as the sender/producer of data, and the other acting as the receiver/consumer. (C) It allows tasks to transfer data independently from one another. (D) None of these 20. Point-to-point communication referred to (A) It involves data sharing between more than two tasks, which are often specified as being members in a common group, or collective. (B) It involves two tasks with one task acting as the sender/producer of data, and the other acting as the receiver/consumer.* (C) It allows tasks to transfer data independently from one another. (D) None of these 21. Uniform Me21. Uniform Memory Access (UMA) referred to (A) Here all processors have equal access and access times to memory (B) Here if one processor updates a location in shared memory, all the other processors know about the update. (C) Here one SMP can directly access memory of another SMP and not all processors have equal access time to all memories (D) None of these 22. Asynchronous communications (A) It involves data sharing between more than two tasks, which are often specified as being members in a common group, or collective. (B) It involves two tasks with one task acting as the sender/producer of data, and the other acting as the receiver/consumer. (C) It allows tasks to transfer data independently from one another . (D) None of these 23. Granularity is (A) In parallel computing, it is a qualitative measure of the ratio of computation to communication (B) Here relatively small amounts of computational work are done between communication events (C) Relatively large amounts of computational work are done between communication / synchronization events (D) None of these 24. Coarse-grain Parallelism (A) In parallel computing, it is a qualitative measure of the ratio of computation to communication (B) Here relatively small amounts of computational work are done between communication events (C) Relatively large amounts of computational work are done between communication / synchronization events (D) None of these 25. Cache Coherent UMA (CC-UMA) is (A) Here all processors have equal access and access times to memory (B) Here if one processor updates a location in shared memory, all the other processors know about the update. (C) Here one SMP can directly access memory of another SMP and not all processors have equal access time to all memories (D) None of these 26. Non-Uniform Memory Access (NUMA) is (A) Here all processors have equal access and access times to memory (B) Here if one processor updates a location in shared memory, all the other processors know about the update. (C) Here one SMP can directly access memory of another SMP and not all processors have equal access time to all memories (D) None of these 27. It distinguishes multi-processor computer architectures according to how they can be classified along the two independent dimensions of Instruction and Dat (A) Each of these dimensions can have only one of two possible states: Single or Multiple. (A) Single Program Multiple Data (SPMD) (B) Flynn’s taxonomy (C) Von Neumann Architecture (D) None of these 28. In the threads model of parallel programming (A) A single process can have multiple, concurrent execution paths (B) A single process can have single, concurrent execution paths. (C) A multiple process can have single concurrent execution paths. (D) None of these 29. These applications typically have multiple executable object files (programs). While the application is being run in parallel, each task can be executing the same or different program as other tasks. All tasks may use different data (A) Single Program Multiple Data (SPMD) (B) Multiple Program Multiple Data (MPMD) (C) Von Neumann Architecture (D) None of these 30. Here a single program is executed by all tasks simultaneously. At any moment in time, tasks can be executing the same or different instructions within the same program. These programs usually have the necessary logic programmed into them to allow different tasks to branch or conditionally execute only those parts of the program they are designed to execute. (A) Single Program Multiple Data (SPMD) (B) Multiple Program Multiple Data (MPMD) (C) Von Neumann Architecture (D) None of these Windows Programming MCQS Click the Next Button 1. Frames is (A) the exterior of a window. (B) the interior of a frame window. (C) windows used for input/output that are placed on a panel window (D) None of these 2. Panels is (A) the exterior of a window. (B) the interior of a frame window (C) windows used for input/output that are placed on a panel window (D) None of these 3. Controls are (A) the exterior of a window. (B) the interior of a frame window. (C) windows used for input/output that are placed on a panel window (D) None of these 5. A panel window is a window (A) which can only exist inside a frame window (B) which can not exist inside a frame window (C) which can exist outside the frame window (D) none of these 6. These exist ——— panel windows inside the same frame window. (A) Several (B) Only one (C) None (D) None of these 7. Button in window programming (A) displays text and can be clicked with the mouse or spacebar (B) a checkmark which the user can select (C) a list from which one item can be selected. (D) area in which text may be entered. 8. Checkbox in window programming (A) displays text and can be clicked with the mouse or spacebar (B) a checkmark which the user can select (C) a list from which one item can be selected. (D) area in which text may be entered. 9. Combobox in window programming (A) displays text and can be clicked with the mouse or spacebar (B) a checkmark which the user can select (C) a list from which one item can be selected. (D) area in which text may be entered. 10. Edit in window programming (A) displays text and can be clicked with the mouse or spacebar (B) a checkmark which the user can select (C) a list from which one item can be selected. (D) area in which text may be entered 11. Groupbox in window programming (A) does nothing except draw a rectangle, it is used to visually group controls together (B) displays text (C) for input of multiple lines of text (D) none of these 12. Label in window programming (A) does nothing except draw a rectangle, it is used to visually group controls together (B) displays text (C) for input of multiple lines of text (D) none of these 13. Memo in window programming (A) does nothing except draw a rectangle, it is used to visually group controls together (B) displays text (C) for input of multiple lines of text (D) none of these 14. All the classes necessary for Windows programming are in the module (A) win.txt (B) win.std (C) win.main (D) none of these 15. Window class, onCreate/1 ,defines (A) is executed when a visible window is being created (B) is executed when a window is being closed, it is possible to prevent the window from closing (C) when the background of a window must be erased this event is executed (D) when a window must be re-painted this event is executed 16. Window class, on Close/2 (A) is executed when a visible window is being created (B) is executed when a window is being closed, it is possible to prevent the window from closing (C) when the background of a window must be erased this event is executed (D) when a window must be re-painted this event is executed 17. Window class, onEraseBackground/1, defines (A) is executed when a visible window is being created (B) is executed when a window is being closed, it is possible to prevent the window from closing (C) when the background of a window must be erased this event is executed (D) when a window must be re-painted this event is executed 18. Window class, onPaint/2, defines (A) is executed when a visible window is being created (B) is executed when a window is being closed, it is possible to prevent the window from closing (C) when the background of a window must be erased this event is executed (D) when a window must be re-painted this event is executed 19. Window class, onShow/2, defines (A) is executed when a window is becoming visible or is being hidden (B) when a window is being disabled or enabled this event is executed (C) this event is executed when the user switches to another window of the same application (D) when a window receives the keyboard focus this event is executed 20. Window class, onActivate/2, defines (A) is executed when a window is becoming visible or is being hidden (B) when a window is being disabled or enabled this event is executed (C) this event is executed when the user switches to another window of the same application (D) when a window receives the keyboard focus this event is executed 21. Window class, onEnable/1, defines (A) is executed when a window is becoming visible or is being hidden (B) when a window is being disabled or enabled this event is executed (C) this event is executed when the user switches to another window of the same application (D) when a window receives the keyboard focus this event is executed 22. Window class, onKBFocus/3, defines (A) is executed when a window is becoming visible or is being hidden (B) when a window is being disabled or enabled this event is executed (C) this event is executed when the user switches to another window of the same application (D) when a window receives the keyboard focus this event is executed 23. Window class, onSetCursor/3, defines (A) the window wants to know what cursor it must display for the mouse pointer (B) the mouse is moved over a window (C) when a mouse button is pressed this event is executed (D) a mouse button is released 24. Window class, onMouseMove/5 , defines (A) the window wants to know what cursor it must display for the mouse pointer (B) the mouse is moved over a window (C) when a mouse button is pressed this event is executed (D) a mouse button is released 25. Window class, onMouseDown/5, defines (A) the window wants to know what cursor it must display for the mouse pointer (B) the mouse is moved over a window (C) when a mouse button is pressed this event is executed (D) a mouse button is released 26. Window class, onMouseUp/5 , defines (A) the window wants to know what cursor it must display for the mouse pointer (B) the mouse is moved over a window (C) when a mouse button is pressed this event is executed (D) a mouse button is released Author: A.J. Bhatti