ONGC Paper for Programming Domain - June 2014
I am sharing a question paper related to ONGC written exam held in June 2014 relate to programming domain. While preparing for an exam, I had searched a lot previous year paper, but I don't get anything.
Here is question paper
The paper is divided into 4 sections
Section 1: Proamming which include DS, C++, OOPS, Database, so on
Section 2: GK (History + Current affair)
Section 3: Reasoning
Section 4: Quantity Aptitude
I am sharing only section 1 and remain section is similar to other exams.
1) Which of the following is NOT a characteristic of the OSI model?
a) Each layer performs a subset of the required communication functions.
b) Each layer does not rely on the next lower layer to perform more primitive functions
c) Each layer provides services to the next higher layer.
d) Changes are one layer should not require changes in another layer
2) The algorithm used to solve the Eight Queens Problem?
3) What is the use of HELLO protocol?
4) What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of the array?
5) An OR gate has 6 inputs, The number of input words in its truth table are?
6) Which layer adds a header to the packet coming from the upper layer that Includes the logical addresses of the sender and receiver?
7) In real time operating system, which of the following mis the most suitable scheduling scheme?
8) What are the sub layers of the Data Link Layer?
9) Which of the following diagram focuses on dynamic modeling?
a) Sequence Diagram
b) Class Diagram
c) Package Diagram
d) Use case Diagram
10) Which of the following is used for carrying out simplification and manipulation of logical expressions having up to 5 Variable?
11) The elevator algorithm controls the motion of
a) Read head sequence from one platter to the other
b) Disk's arm and head
c) Printing head of a dot matrix printer
d) Read/Write pointer on the hard disk platter
12) Let G be a simple graph with 20 vertices's and 100, edges. The size of the minimum vertex cover of G is 8. What is the size of the maximum independent set of G?
a) 12
b) 8
c) Less than 8
d) Less than 12
13) In the OSI model, which layer functions as a liaison between user support layer and network support layer?
14) Which of the following register is a memory pointer
a) Instruction Register
b) Stack pointer
c) Program counter
d) Source index
15) What is Facade?
16) Which of the following statement is correct about mutex?
a) Before entering a critical region, mutex is dissolved.
b) Before entering a critical region, mutex is suspended
c) Before entering a critical region, mutex is opened
d) Before entering a critical region, mutex is locked.
17) IPV4 is being replaced with IPV6 because?
18) Which of the following feature is NOT supported by C++
a) Exception Handling
b) Reflection
c) Operator Overloading
d) Namespace
19) which of the following us correct?
a) A.A=0
b) A+1=A
c) A+A=A'
d) A'. A'=0
20) What will be the start of the blocked / Suspend process?
21) Diamond Inheritance problem is not faced in which programming language?
22)Which of the following service is provided by the OS, which ensures that external I/O devices are protected from invalid access attempts?
a) Protection
b) Resource Allocation
c) Communication
d) File system Manipulation
23) Microprocessor 8085 can address locaion upto where?
24) Where does the swap space reside?
25)In which of the following does a search for vulnerabilities is made to the system, but which is not an attack?
a) Port Scanning
b) denial of service
c) worm
d) Dumpster driving
26) Which is the Gang of Four(GoF) Design pattern
27) An example of Tertiary Storage Device?
28) What is a roll forward operation?
29) What is a pipelining strategy called as?
30) What is starvation?
31) Which diagram is used to represent Hazards?
32) What is the number of bit in an IPV4 Address?
33) Where is the address of the VTABLE stored?
34) How to initializing as int with a constant using constructor notation?
35) Which storage model the data is NOT stored in the relational database?
36) Frames from one LAN can be transmitted to another LAN via which of the following device?
37) How can a deadlock be prevented?
38) What condition is not required for binary search algorithm?
39) Which protocol is used for booting diskless workstation?
40) What is Aggregation?
41) Decimal Equivalent if Hexadecimal value 593D?
42) "Resource Acquisition is Initalization" is a key concept in?
43) How do we declare an abstract class?
44) Consider a situation, in which a RS flip-flops is been used. Here both the inputs are set to Zero(0). Suppose a momentary '1' is applied to the input 'S', then what will be result?
45) The number of inputs and outputs in a full adder?
46) Hexadecimal value B5 is equivalent to Binary
47) which implies A time sharing system?
48) Which of the following SQL function can operate on any data type
a) TO_CHAR
b) LOWER
c) CEIL
d) MAX
49) If an inorder traversal of a tree results in E A C K F H D B G, what will be the preorder traversal?
50) Which layer is responsible for moving frames from one hop to the next?
51) What is the, number of flip-flops available in 7475 IC?
52) Which digital circuit technology used bipolar junction?
53) Which is two way list (Data Sturctue)?
54) DDL
55) dangling pointer
56) Which terminal is used in the start of a Telnet session
57) What is the implicit pointer that is passed as the first argument for nonstatic member functions?
58) What is 4NF?
59) Which is both an Input/Output Device?
60) Question on on Delete cascade
61) What is a candidate key?
62) What is operator overloading?
63) How many bytes do null character takes?
64) What is the difference between a hub and a repeater?
65) Which layer uses user workstation and server?
66) Which data structure allows deletion at, both ends of the list, but insertion at only one end.
67) Which of the following abstract data types can be used to represent a many to many relation?
a) Tree
b) Stack
c) Graph
d) Queue
68) What does a DROP TABLE statement do?
69) What is use of pdb file?
70) How to define macros?
71) Which layer provides electronic mail/messaging functionalities?
Hope this will help you
Best of luck :)
Here is question paper
The paper is divided into 4 sections
Section 1: Proamming which include DS, C++, OOPS, Database, so on
Section 2: GK (History + Current affair)
Section 3: Reasoning
Section 4: Quantity Aptitude
I am sharing only section 1 and remain section is similar to other exams.
1) Which of the following is NOT a characteristic of the OSI model?
a) Each layer performs a subset of the required communication functions.
b) Each layer does not rely on the next lower layer to perform more primitive functions
c) Each layer provides services to the next higher layer.
d) Changes are one layer should not require changes in another layer
2) The algorithm used to solve the Eight Queens Problem?
3) What is the use of HELLO protocol?
4) What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of the array?
5) An OR gate has 6 inputs, The number of input words in its truth table are?
6) Which layer adds a header to the packet coming from the upper layer that Includes the logical addresses of the sender and receiver?
7) In real time operating system, which of the following mis the most suitable scheduling scheme?
8) What are the sub layers of the Data Link Layer?
9) Which of the following diagram focuses on dynamic modeling?
a) Sequence Diagram
b) Class Diagram
c) Package Diagram
d) Use case Diagram
10) Which of the following is used for carrying out simplification and manipulation of logical expressions having up to 5 Variable?
11) The elevator algorithm controls the motion of
a) Read head sequence from one platter to the other
b) Disk's arm and head
c) Printing head of a dot matrix printer
d) Read/Write pointer on the hard disk platter
12) Let G be a simple graph with 20 vertices's and 100, edges. The size of the minimum vertex cover of G is 8. What is the size of the maximum independent set of G?
a) 12
b) 8
c) Less than 8
d) Less than 12
13) In the OSI model, which layer functions as a liaison between user support layer and network support layer?
14) Which of the following register is a memory pointer
a) Instruction Register
b) Stack pointer
c) Program counter
d) Source index
15) What is Facade?
16) Which of the following statement is correct about mutex?
a) Before entering a critical region, mutex is dissolved.
b) Before entering a critical region, mutex is suspended
c) Before entering a critical region, mutex is opened
d) Before entering a critical region, mutex is locked.
17) IPV4 is being replaced with IPV6 because?
18) Which of the following feature is NOT supported by C++
a) Exception Handling
b) Reflection
c) Operator Overloading
d) Namespace
19) which of the following us correct?
a) A.A=0
b) A+1=A
c) A+A=A'
d) A'. A'=0
20) What will be the start of the blocked / Suspend process?
21) Diamond Inheritance problem is not faced in which programming language?
22)Which of the following service is provided by the OS, which ensures that external I/O devices are protected from invalid access attempts?
a) Protection
b) Resource Allocation
c) Communication
d) File system Manipulation
23) Microprocessor 8085 can address locaion upto where?
24) Where does the swap space reside?
25)In which of the following does a search for vulnerabilities is made to the system, but which is not an attack?
a) Port Scanning
b) denial of service
c) worm
d) Dumpster driving
26) Which is the Gang of Four(GoF) Design pattern
27) An example of Tertiary Storage Device?
28) What is a roll forward operation?
29) What is a pipelining strategy called as?
30) What is starvation?
31) Which diagram is used to represent Hazards?
32) What is the number of bit in an IPV4 Address?
33) Where is the address of the VTABLE stored?
34) How to initializing as int with a constant using constructor notation?
35) Which storage model the data is NOT stored in the relational database?
36) Frames from one LAN can be transmitted to another LAN via which of the following device?
37) How can a deadlock be prevented?
38) What condition is not required for binary search algorithm?
39) Which protocol is used for booting diskless workstation?
40) What is Aggregation?
41) Decimal Equivalent if Hexadecimal value 593D?
42) "Resource Acquisition is Initalization" is a key concept in?
43) How do we declare an abstract class?
44) Consider a situation, in which a RS flip-flops is been used. Here both the inputs are set to Zero(0). Suppose a momentary '1' is applied to the input 'S', then what will be result?
45) The number of inputs and outputs in a full adder?
46) Hexadecimal value B5 is equivalent to Binary
47) which implies A time sharing system?
48) Which of the following SQL function can operate on any data type
a) TO_CHAR
b) LOWER
c) CEIL
d) MAX
49) If an inorder traversal of a tree results in E A C K F H D B G, what will be the preorder traversal?
50) Which layer is responsible for moving frames from one hop to the next?
51) What is the, number of flip-flops available in 7475 IC?
52) Which digital circuit technology used bipolar junction?
53) Which is two way list (Data Sturctue)?
54) DDL
55) dangling pointer
56) Which terminal is used in the start of a Telnet session
57) What is the implicit pointer that is passed as the first argument for nonstatic member functions?
58) What is 4NF?
59) Which is both an Input/Output Device?
60) Question on on Delete cascade
61) What is a candidate key?
62) What is operator overloading?
63) How many bytes do null character takes?
64) What is the difference between a hub and a repeater?
65) Which layer uses user workstation and server?
66) Which data structure allows deletion at, both ends of the list, but insertion at only one end.
67) Which of the following abstract data types can be used to represent a many to many relation?
a) Tree
b) Stack
c) Graph
d) Queue
68) What does a DROP TABLE statement do?
69) What is use of pdb file?
70) How to define macros?
71) Which layer provides electronic mail/messaging functionalities?
Hope this will help you
Best of luck :)
Comments
Post a Comment