BB Assistant Programmer 2016 – Preliminary question & solution

Questions from the BB Assistant Programmer recruitment exam, 2016 – Preliminary, shared by the candidates who sat it. The paper: 15 MCQs. So far 15 MCQs have been shared. Topics include Data Structure, Web Technology, Computer Networks, Coding and Algorithm.

MCQ (15)

  1. Which is correct for stack?
    1. a) FIFO
    2. b) LIFO
    3. c) Both A, B
    4. d) None
  2. Which is correct?
    1. a) <body color= 'yellow'>
    2. b) <body bgcolor= 'yellow'>
    3. c) <body background> yellow<body>
    4. d) <body background= 'yellow'>
  3. Which is correct to open new window/tab of browser?
    1. a) <a href=http://www.example.com target= "_blank"> new window/tab</a>
    2. b) <a href=http://www.example.com target= "blank"> new window/tab</a>
    3. c) <a href=http://www.example.com target= "_blank"new window"> new window</a>
    4. d) None
  4. Which is the correct variable declaration in JavaScript?
    1. a) var a= {'a', 'b', 'c'};
    2. b) var a= {'a' 'b' 'c'}
    3. c) var a= {"a" "b" "c"}
    4. d) None
  5. Which is not the work of the Data link layer?
    1. a) Error control
    2. b) Adding MAC address
    3. c) Cabling
    4. d) None
  6. Which is correct for concatenation in PHP?
    1. a) $add = $add+1
    2. b) $add = $add +1
    3. c) $add = $add + $add
    4. d) $add .= 1;
  7. Which is the slowest algorithm?
    1. a) Bubble Sort
    2. b) Quick sort
    3. c) Heap sort
    4. d) None
  8. Find the correctly arranged data after the stack operations push (1), push (2), pop, push (1), push (2), pop, pop, pop, push (2), pop.
    1. a) 2 2 1 1 2
    2. b) 2 2 1 2 1
    3. c) 2 2 2 2 1
    4. d) 2 2 2 1 2
  9. Stack operations are—
    1. a) delete, insertion
    2. b) insertion, delete
    3. c) push, pop
    4. d) pop, push
  10. Whole network will break if a node is defective in which network topology?
    1. a) Star
    2. b) Bus
    3. c) Mesh
    4. d) Ring
  11. Server machine is connected to—
    1. a) Network
    2. b) Client
    3. c) Supercomputer
    4. d) Host
  12. Which are the keywords of structured programming?
    1. a) Keywords
    2. b) Constant
    3. c) volatile
    4. d) Above all
  13. Repeated data exist at—
    1. a) unnormalized
    2. b) 1NF
    3. c) 2NF
    4. d) 3NF
  14. Which function converts the value 9.87 to 10?
    1. a) floor()
    2. b) ceil()
    3. c) both A & B
    4. d) None
  15. Which is not linear?
    1. a) Linked list
    2. b) array
    3. c) graph
    4. d) None

Other papers for this post