ISRO-2007
October 25, 2023NIC-NIELIT Scientist-B 2020
October 25, 2023UGC NET CS 2009 Dec-Paper-2
Question 4 |
P: “Program is a step by step execution of the instructions”. Given P, which of the following is true ?
Program is a subset of an instruction set. | |
Program is a sequence of a subset of an instruction set.
| |
Program is a partially ordered set of an instruction set. | |
All of the above |
Question 4 Explanation:
→ Set A is a subset of another set B if all elements of the set A are elements of the set B
Program is a collection of statements and that collection may be subset so the option(a) is true.
→ In the program, the execution of instructions will be performed sequentially.So option (b) also true.
→ A partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set.
According to the above definition, the option (c) also true.
Program is a collection of statements and that collection may be subset so the option(a) is true.
→ In the program, the execution of instructions will be performed sequentially.So option (b) also true.
→ A partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set.
According to the above definition, the option (c) also true.
Correct Answer: D
Question 4 Explanation:
→ Set A is a subset of another set B if all elements of the set A are elements of the set B
Program is a collection of statements and that collection may be subset so the option(a) is true.
→ In the program, the execution of instructions will be performed sequentially.So option (b) also true.
→ A partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set.
According to the above definition, the option (c) also true.
Program is a collection of statements and that collection may be subset so the option(a) is true.
→ In the program, the execution of instructions will be performed sequentially.So option (b) also true.
→ A partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set.
According to the above definition, the option (c) also true.
Subscribe
Login
0 Comments