December 2012 - Paper 2

6:  
The ‘C’ language is
A.
Context free language
B.

Context sensitive language

C.

 Regular language

D.

None of the above

 
 

Option: A

Explanation :

Because a context free language is powerful to describe the concepts of programming language and CFG can also  descibe the syntax of programming languages but other's can't. So answer option is 'A'.

Click on Discuss to view users comments.

TAPAS DAS said: (7:04pm on Monday 24th June 2013)
I think c language should be context sensitive .Please check the below link .http://stackoverflow.com/questions/14589346/is-c-context-free-or-context-sensitive

Write your comments here:



7:  
The Mobile Application Protocol (MAP) typically runs on top of which protocol ?
 
A.
 SNMP (Simple Network Management Protocol)
B.
SMTP (Simple Mail Transfer Protocol)
C.

SS7 (Signalling System 7)

D.
 HTTP (Hyper Text Transfer Protocol)
 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



8:  

If a packet arrive with an M-bit value is  '1' and a fragmentation offset value '0', then it is ______ fragment.

A.

First

B.

Middle

C.

Last

D.

All of the above

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



9:  

The number of bit strings of length eight that will either start with a 1 bit or end with two bits 00 shall be

A.

32

B.

64

C.

128

D.

160

 
 

Option: A

Explanation :

String can be - - - - - - - 0 0 or 1 - - - - - - -.

First combination gives us 26 combinations and second gives 27 combinations.

But first  combinations can have either 1 in beginiing and second can have 00 in last so 25 combinations have to be subtracted.

So final answer is 26 + 27-25 = 160 

Click on Discuss to view users comments.

sandeep said: (2:52pm on Monday 6th May 2013)
can anybody explain
Nagaraj said: (4:40pm on Sunday 19th May 2013)
i think 128 is ans... bcz... "10000000" also contain 1st bit "1" and last 2 bits "00"
simran said: (1:20am on Wednesday 3rd July 2013)
hmmmi think 128 is corect ans.

Write your comments here:



10:  

In compiler design ‘reducing the strength’ refers to

A.

reducing the range of values of input variables

B.
code optimization using cheaper machine instructions
C.
reducing efficiency of program.
 
D.

None of the above

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:




This Section covers the UGC NET Computer Science solved papers along with Answer Keys. UGC NET Computer Science Answer Keys, UGC NET Computer Science Answer Key December 2012, Previous Year Papers UGC NET Computer Science, Solved papers , Answer keys, December 2012 , dec 12 , previous year solved papers , model papers