PSC Lecturer in Computer Science Model Questions and Answers

Last Updated On: 30/04/2018

51. What is the minimum number of units of resource R required such that no deadlock will ever occur in an operating system containing 5 user processes each requiring 2 units of R?
(A) 5 (B) 6
(C) 7 (D) 8
Answer: B

52. The page miss ratio in a paged memory is 0.72. The time required to access a page in primary and secondary memory are 10ns and 100ns, respectively. The average time required to access a page is:
(A) 64.8 (B) 35.2
(C) 74.8 (D) 45.2
Answer: C

53. The value of a counting semaphore at a particular instance of time is 5. ‘#’ P operations and 16 V operations were completed on this semaphore subsequently. If the final value of the semaphore is 8, then ‘#’ will be
(A) 11 (B) 12
(C) 16 (D) 13
Answer: D

54. Given the following disk queue:
95, 180, 34, 119, 11, 123, 62, 64
with read-write head initially at the track 50 and the tail track being at 199. If C-LOOK disk scheduling algorithm is followed, then the total number of head movement required is:
(A) 157 (B) 146
(C) 187 (D) 236
Answer: A

55. NTFS stands for
(A) New Type File System
(B) Novel Technology File Service
(C) New Technology File System
(D) New Technology File Service
Answer: C

56. Shift-reduce parsers are
(A) top-down parsers
(B) bottom-up parsers
(C) both top-down and bottom-up parsers
(D) None of the above
Answer: B

57. Consider the following grammar:
S→ABSc|Abc
BA→AB
Bb→bb
Ab→ab
Aa→aa
Which of the following sentences can be derived by the above grammar?
(A) aab (B) abcc
(C) abbc (D) abc
Answer: D

58. Which of the following is an intermediate language?
(A) UNCOL (B) PASCAL
(C) COBOL (D) SNOBOL
Answer: A

59. If an input file named “Test” is given to Lex, then its output file will be
(A) Test.lex (B) Test.obj
(C) Test.out (D) Test.yy.c
Answer: D

60. The Banker’s algorithm is used
(A) to detect deadlock in operating system
(B) to rectify a deadlocked state
(C) to prevent deadlock in operating system
(D) None of the above
Answer: C

61. In the Internet Protocol(IP) suit of protocols, which of the following best describes the purpose of the Address Resolution Protocol?
(A) To translate web addresses to host names
(B) To determine the IP address of a given host name
(C) To determine the hardware address of a given host name
(D) To determine the hardware address of a given IP address
Answer: D

62. Given the basic ER and relational models, which of the following is incorrect?
(A) An attribute of an entity can have more than one value
(B) An attribute of an entity can be composite
(C) In a row of a relational table, an attribute can have more than one value
(D) In arow of a relational table, an attribute can have exactly one value or a NULL value
Answer: C

63. If a relation scheme is in BCNF, then it is also in
(A) 1NF (B) 2NF
(C) 3NF (D) both (A) and (B)
Answer:-Question Cancelled

64. Communication circuits that transmit data in both directions but not at the same time are operating in
(A) simplex mode (B) half duplex mode
(C) full duplex mode (D) asynchronous mode
Answer: B

65. For which one of the following reasons does Internet Protocol(IP) use the time-to-live(TTL) field in the IP datagram header?
(A) Ensure packets reach destination within that time
(B) Discard packets that reach later than that time
(C) Prevent packets from looping indefinitely
(D) Limit the time for which a packet gets queued in intermediate routers
Answer: C

66. The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are
(A) TCP, UDP, UDP and TCP (B) UDP, TCP, TCP and UDP
(C) UDP, TCP, UDP and TCP (D) TCP, UDP, TCP and UDP
Answer: C

67. The normal form that is considered adequate for relational database design is
(A) 2NF (B) 3NF
(C) 4NF (D) BCNF
Answer: B

68. Result of compilation of DDL statement is stored in a special file called as
(A) database file (B) symbol table
(C) database schema file (D) data dictionary
Answer: D

69. The number of entities to which another entity can be associated via a relationship set is called
(A) Messaging Cardinality (B) Logical Cardinality
(C) Mapping Cardinality (D) Data Cardinality
Answer: C

70. The network topology that supports bidirectional links between each possible node is
(A) Ring (B) Star
(C) Tree (D) Mesh
Answer: D

71. Which of the following UML diagram has a static view
(A) Collaboration (B) Use case
(C) State-chart (D) Activity
Answer: B

72. What is the goal of the requirements analysis and specifications phase of the software development life cycle?
(A) Understanding the customer requirements and organize them in an informal document
(B) Determining the scope of the software
(C) Analyzing the cost of the development
(D) none of the above
Answer: A

73. Which diagram in UML shows a complete or a partial view of the structure of a modeled system at a specific time
(A) Sequence diagram (B) Collaboration diagram
(C) Class diagram (D) Object diagram
Answer: D

74. SRS document is called a black box specification of a system because
(A) It does not contain the contradictory material
(B) It does not contain the user document
(C) SRS document should specify only the external behavior of the system
(D) none of the above
Answer: C

75. Which of the following is the structural model that demonstrate the other system in the environment of the system being developed
(A) System context model (B) Interaction model
(C) Environmental model (D) Both system context and interaction
Answer: A

       
Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
JOIN
0
Would love your thoughts, please comment.x
()
x