NTA-NET (Based on NTA-UGC) Computer Science (Paper-II): Questions 628 - 631 of 2012

Access detailed explanations (illustrated with images and videos) to 2012 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Subscription can be renewed yearly absolutely FREE! View Sample Explanation or View Features.

Rs. 550.00 or

How to register?

Question number: 628

» Programming in C and C Plus Plus » C Plus Plus Programming » Elements of C Plus Plus-Tokens, Identifiers

Edit

Appeared in Year: 2013

MCQ▾

Question

What is the output of the following program?

  1. #include<stdio.h>
  2. main()
  3. {
  4.     inta,b=0;
  5.     staticintc[10]={1,2,3,4,5,6,7,8,9,0};
  6.     for(a=0;a<10;++a);
  7.     if((c[a]%2)==0)b+=c[a];
  8.     printf(“%d”,b);
  9. }

(September Paper-III)

Choices

Choice (4) Response

a.

15

b.

25

c.

45

d.

20

Question number: 629

» Networks, Virtualization, & Cloud Computing » Network Fundamentals » Local Area Networks (LAN)

Edit

Appeared in Year: 2013

MCQ▾

Question

An image is pixels with bytes/pixel. Assume the image is uncompressed. How long does it take to transmit it over a Ethernet? (June Paper III)

Choices

Choice (4) Response

a.

b.

c.

d.

Question number: 630

» Neural Networks and AI » Application

Edit

Appeared in Year: 2013

MCQ▾

Question

Which of the following is not a part of an expert system shell? (September Paper-III)

Choices

Choice (4) Response

a.

Knowledge Base

b.

Inference Engine

c.

Explanation Facility

d.

Question does not provide sufficient data or is vague

Question number: 631

» Operating Systems with Unix » Basic Concepts » Interrupts,System Calls,Instructions

Edit

Appeared in Year: 2013

MCQ▾

Question

A system contains 10 units of resource of same type. The resource requirement and current allocation of these resources for three processes P, Q and R are as follows:

Table shows the three processes P, Q and R

Table shows the three processes P, Q and R

P

Q

R

Maximum requirement

8

7

5

Current allocation

4

1

3

Now, consider the following resource requests:

(i) P makes a request for 2 resource units.

(ii) Q makes request for 2 resources units.

(iii) R makes a request of 2 resources units.

For a safe state, which of the following options must be satisfied? (September Paper-III)

Choices

Choice (4) Response

a.

Only request (i)

b.

Only request (ii)

c.

Only request (iii)

d.

Request (i) and (ii)

Developed by: