HSST Computer Science Model Questions and Answers – Part 5
Question Paper Code: 348/2005
Exam: HSST Computer Science
HSST Computer Science Model Questions and Answers – Part 1
HSST Computer Science Model Questions and Answers – Part 2
PSC HSST Computer Science Model Questions and Answers – Part 3
PSC HSST Computer Science Model Questions and Answers – Part 4
PSC HSST Computer Science Model Questions and Answers – Part 6
1
Flow control in TCP/IP is handled using:
Answer
D. Variable-size sliding window
2
Which among the following is a protocol of Wireless LAN?
Answer
D. 802.11
3
The default payload of TCP segment established during connection setup in bytes is :
Answer
A. 536
4
Which is the protocol among the following that is used for translating from physical address to Internet address?
Answer
D. RARP
5
Which property among the ones given below is not possessed by the HTTP protocol?
Answer
A. Non-cached
6
The port number assigned to FTP protocol is:
Answer
D. 21
7
The protocol used in TCP/IP for dynamic address assignment is :
Answer
C. DHCP
8
Which of the following is true about a cross compiler?
Answer
A. It is written in the machine code of one processor and produces code for another processor
9
Which of the following phases of a compiler is not in the backend?
Answer
A. Syntax analysis
10
FORTRAN does not support recursion because:
Answer
C. It uses dynamic allocation
11
For a given grammar, which among the following parsing tables are likely to have the most number of states?
Answer
D. LR(1)
12
A parsing algorithm used in top down parsing is :
Answer
B. LL
13
Which among the following is not used for intermediate code generation?
Answer
D. Parse trees
14
DAG is used in a compiler for:
Answer
D. Parsing
15
YACC is a program in UNIX used for:
Answer
B. automatic parser generation
16
Which of the following identifiers used in LEX contains the sequence of characters forming a token?
Answer
C. yytext
17
Consider the following grammar:
S→(S) S→x
Which of the following statements is (are) true?
(i) The grammar is ambiguous
(ii) The grammar is suitable for top-down parsing
(iii) The grammar is suitable for bottom-up parsing
S→(S) S→x
Which of the following statements is (are) true?
(i) The grammar is ambiguous
(ii) The grammar is suitable for top-down parsing
(iii) The grammar is suitable for bottom-up parsing
Answer
A. (iii) only
18
Which of the following operations is context free languages not closed under?
Answer
C. Intersection
19
A phenomenon in virtual memory schemes in which the processor spends most of the time swapping pages rather than executing instructions is :
Answer
C. thrashing
20
Which among the following is not a reason for process termination?
Answer
D. Invalid time
21
Which of the following is (are) true about virtual memory systems that use pages?
(i) The virtual address space can be larger than the amount of physical memory
(ii) Programs must be resident in main memory throughout their execution
(iii) Pages correspond to semantic characteristics of the program.
(i) The virtual address space can be larger than the amount of physical memory
(ii) Programs must be resident in main memory throughout their execution
(iii) Pages correspond to semantic characteristics of the program.
Answer
A. (i) only
22
Which among the following will not lead to a deadlock?
Answer
C. Preemption
23
Which level of security is implemented in Windows NT?
Answer
D. C2
24
A method of executing two or more programs concurrently using the same computer describe:
Answer
B. multiprogramming
25
Windows is a .............. bit operating system.
Answer
C. 32
Mary
Q34 Answer is one-time pad
Mary
Q42 Answer is (C)