Durga Naresh E R V
For more Queries, Contact us durganaresherv@gmail.com

CS AMCAT or SHL - Set1

Computer Science - Set1:

Q.1 what is RAID?

A .Resemble Arrays of independent disks

B. Resemble Arrays of dependent disks

C. Redundant arrays of individual disks

D. Redundant arrays of independent disks

Q.2 An operating system must schedule all the processes in the main memory (using a scheduling algorithm) to run on the CPU at equal intervals, Each time a dock interrupt occurs the interrupt handler checks how much time the current running process has used. If it has used up its entire time slice then the CPU scheduling algorithm in the kernel picks a different process to run, what is each switch of the CPU from one process to another called?

A. Task switching

B. Context switching

C. CPU switching

D. process switching

Q.3 Refer to the given table, Match the transmission technique in group A with its characteristic in group B

Group A                                     Group B

A Unicasting                                       1.Message is sent from a source node to a single destination node 

B. Broadcasting                                  2. Message is sent to a subset of the network nodes

C. Multicasting                                   3. Message is sent to all the nodes in the network

a. A-2,B-1,C-3

b. A-2,B-3,C-1

c. A-1,B-2,C-3

d. A-1,B-3,C-2 

Q.4 A database of motor vehicles has the base entity “vehicles” that is classified into two sub-entities: twowheeler and four-wheeler. These are further broken down into more entities. What is this process called?

a. Aggregation

b. Segregation

c. Generalization

d. Specialization

Q.5 which of the following statements are true?

1. An arithmetic left shift multiples a signed number by two.

2. An arithmetic right shift divides a signed number by two.

3. Mask operation is an AND micro-operation and insert is an OR micro-operation.

4. In a logical shift the serial input to the shift is one.

a. 1 and 2

b. 3 and 4

c. 1, 2 and 3

d. 2, 3 and 4

Q.6 deadlocks can be described more precisely in term of a directed graph called a system resource allocation graph, what can be concluded if the two statements stated below are true for a system?

1. The graph contains a cycle.

2. The cycle involves only a set of resource types each of which has only a single instance.

a. A deadlock may exist.

b. A deadlock will occur.

c. A deadlock will never occur.

d. The statements contradict each other.

Q.7 Consider the given reference string:

7,0,1,2,3,4,0,2,3,0,3,2,1

Calculate the number of page faults encountered when the LRU page replacement policy is used with 4 page frames.

a. 5

b. 6

c. 7

d. 8


Q.8 A job scheduling algorithm processes a process P and takes total time T from submission to completion of that process. What is T known as?

a. Turnaround time

b. waiting time

c. response time

d. total time

Q.9 Distributed systems should aim at_________.

a. better system overhead

b. better system utilization

c. meeting the prescribed time constraints

d. better resource sharing

Q.10 which keyword is used to remove duplicate values from a column in the result set of a query?

a. delete

b. remove

c. unique

d. distinc

Q.11 In_____, signals are sent at multiple frequencies allowing multiple signals sent simultaneously, while in _______ the entire bandwidth of the cable is consumed by a single signal.

a. asynchronous transmission, synchronous transmission

b. synchronous transmission, asynchronous transmission

c. baseband transmission, broadband transmission

d. broadband transmission, baseband transmission



Q.12. A database contains three tables – saving. Accnt (cid, accnt_no, owner, balance), Current_accnt(cid, accnt_no, owner, balance)and customer(cid, accnt_no). “a” is the alias for the saving_accnt table and b is the allas for the current_accnt table. Which queries should be used to show the details of a customer who holds a savings account as well as a current account?

a. SELECT a.cid, a.accnt_no, a.owner, a.balance FROM Saving.accnt a CROSS JOIN Current_accnt b ON a.cid=b.cid;

b. SELECT a.cid, a.accnt_no, a.owner, a.balance FROM Saving.accnt a LEFT INNER JOIN Current_accnt b ON a.cid=b.cid;

c. SELECT a.cid, a.accnt_no, a.owner, a.balance FROM Saving.accnt a INNER JOIN Current_accnt b ON a.cid=b.cid;

d. SELECT a.cid, a.accnt_no, a.owner, a.balance FROM Saving.accnt a OUTER JOIN Current_accnt b ON a.cid=b.cid;

Q.13 Refer to the given table. Match the problem in virtual memory management in group A with a solution group B.

Group A                                            Group B

A External fragmentation                 1.Aging

B. Starvation                                     2. Optimal page replacement

C. Belady’s anomaly                         3. Translation look aside buffer

D. More memory access time            4. segmentation

a. A-2,B-1,C-3,D-4

b. A-3,B-4,C-1,D-2

c. A-4,B-1,C-2,D-3

d. A-1,B-2,C-4,D-3

Q.14 The head of a moving head disk with 100 tracks numbered from 0 to 99 is currently serving a request at track 50. The queue of requests kept in the “first-come, first-served” order is 10, 60,70,40,80. What will be the total head movement for these requests?

a. 150

b. 160

c. 170

d. 180

Q.15 Which of the following condition can lead to a deadlock?

1. Mutual exclusion

2. Preemption

3. Circular wait

a. only 1

b. 1 and 2

c. 2 and 3

d. 1, 2 and 3

Q.16 which of the given statements is NOT correct about repeaters?

a. They receive a weak signal in the network and regenerate the original bit pattern.

b. They operate only at the physical layer.

c. They are also called regenerators.

d. They relay packets among multiple interconnected networks.

Q.17 Which schedule can be categorized as a strict schedule?

a. T1:R(X), T2:R(X), T1:W(X), T1:Commit, T2:W(X),T2:Commit

b. T1:R(X), T2:R(X), T1:W(X), T2:W(X), T2:Commit

c. . T1:R(X), T2:R(X), T2:W(X), T1:W(X), T2:Commit, T1:Commit

d. T1:R(X), T2:R(X), T2:W(X), T1:W(X), T1:Commit, T2:Commit

Q.18 what do URL and URN imply in the HTTP protocol respectively?

a. Uniform resource locator, Uniform resource Identifier, Uniform resource Name

b. Uniform resource locator, Uniform resource Identifier, Uniform resource Network

c. Uniform resource locator, Uniform resource Information, Uniform resource Network

d. Uniform resource location, Uniform resource Identifier, Uniform resource Network

Q.19 which of the given is NOT a necessary condition for a deadlock to occur?

a. Mutual exclusion

b. Hold and wait

c. circular wait

d. none of the above

For Job Updates

1. Visit durgajobs.com!
Visit seshajobs.com!
Visit freshersworld.com!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free