HSSC PGT Computer Science Solution of Question Paper March 2016

Ans 56: (C) A:2, B:3, C:1

Solution: Indirect Addressing : Pointers

Immediate Addressing: Constants

AutoDecrement Addressing : Loops

Ans 57:(D)

Ans 58:(C) \0

Solution: String are always terminated with ‘\0’

Ans 59: (B) merge sort

Merge Sort have worst case complexity= O(n log n). All others given options have worst case time complexity 0(n2)

Ans 60: (A) FF

Solution: (377)8

=(011 111 111)2

=(0 1111 1111)2 (After Making groups of 4 from right hand side)

=(0FF)16

=(FF)16

Ans 61: (B) &&

Solution: Logical AND &&

Logical OR ||

LOgical NOT !

Ans 62: (A) Ceaser Cipher

Click on the Page No to view the solution of that page

Click here to Download Question Paper

error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.