Skip to content
PSCNET App 100K+ installs · 4.6 ★ rating Install

Kerala PSC HSST Computer Science Model Questions & Answers

PSC HSST Computer Science Model Questions: Are you searching for Model Questions for Higher Secondary School Teacher Computer Science PSC examination? Here are the repeated questions for KPSC HSST Computer Science examination.


PSC HSST Computer Science Mock Test
Check Also: 

Kerala PSC HSST Computer Science Model Questions & Answers

1
The size of an ATM cell is .............. bytes.
Answer
C. 53
2
“Stored program concept is attributed to:
Answer
C. Von Neumann

3
In a UNIX system, the macro htons is used to:
Answer
A. Convert a short number from host to network order

Explanation:
• htons(): reorder the bytes of a 16-bit unsigned value from processor order to network order. The macro name can be read “host to network short.”
• htonl(): reorder the bytes of a 32-bit unsigned value from processor order to network order. The macro name can be read “host to network long.”
• ntohs(): reorder the bytes of a 16-bit unsigned value from network order to processor order. The macro name can be read “network to host short.”
• ntohl(): reorder the bytes of a 32-bit unsigned value from network order to processor order. The macro name can be read “network to host long.”

4
The cache which is on the same chip as the processor is called :
Answer
A. L1
5
Which level of RAID uses mirroring to achieve redundancy?
Answer
B,D
6
Which IEEE standard is refers to fast Ethernet?
Answer
C. 802.3u
7
The new generation Intel processor with the IA-64 architecture is called
Answer
A. Itanium
8
A MAC address is ............. bytes long:
Answer
B. 6
9
RARP is used to convert:
Answer
B. MAC address to IP address

10
Which among the following is an NP-Complete problem?
Answer
D. All of the above

Explanation:
NP means Non-deterministic Polynomial time and P means deterministic Polynomial time.

11
The solution to the count-to-infinity problem in which a router never advertises the cost of a destination to its neighbour N, if N is the next hop to that destination, is called:
Answer
C. Split-horizon
12
A compiler which runs on one machine and produces target code for another is called a:
Answer
C. Cross compiler
13
Which among the following is an interior routing protocol?
Answer
A. OSPF
14
The maximum length (in bytes) of an IP packet:
Answer
D. 65535
15
Which among the following is not a type of HTTP request?
Answer
C. RELEASE
16
Which among the following is not a real time operating system?
Answer
C. Solaris

17
What is returned by a fork() call to the child process?
Answer
A. 0

Explanation:
In the child process, the return value of fork() is 0, whereas the return value in the parent process is the PID of the newly created child process.

18
The degree of multi-programming is controlled primarily by?
Answer
C. Long-term scheduler
19
Which of the following is a high-level synchronization concept?
Answer
D. Monitor
20
Paging solves the problem of:
Answer
D. External Fragmentation
21
For some page–replacement algorithms, the page-fault rate may increase as the number of allocated frames increases. This is known as:
Answer
C. Belady’s anomaly

22
The Unix incode contains ........... pointers to data blocks and .............. pointers to indirect blocks.
Answer
C. 12,3

Explanation:
inode : a data structure that contains information about files on the disk. Each file has an inode and is identified by an inode number.
The inode also contains 15 pointers to the disk blocks containing the file’s data contents. First 12 point to direct blocks. Next three point to indirect blocks.

23
Which of the following disk scheduling algorithms may result in starvation?
Answer
B. Shortest-seek-time-first
24
An RPC uses ............... to execute a routine on a remote system.
Answer
D. UDP
25
‘Location transparency’ in distributed systems means that:
Answer
A. Name of the file does not reveal any hint of its physical storage location

26
The BSD version of UNIX was developed by:
Answer
C. University of Berkeley

Explanation:
BSD: Berkeley Software Distribution

27
An example of a file system whose contents are not actually stored anywhere, but are computed on demand is:
Answer
C. proc

Explanation:
procfs or the proc file system is a virtual file system in Unix like operating systems that resides in the kernels memory. It is an example of a file system whose contents are not actually stored anywhere but are computed on demand according to user file I/O requests.

28
Which among the following is a type of top-down parsing?
Answer
A. Predictive parsing

Explanation:
In computer science, parsing means divide a computer language statement into smaller parts. Parsing is done by a parser is a program, usually part of a compiler.
Recursive-descent parsing is a top-down method of syntax analysis that executes a set of recursive procedure to process the input.
A predictive parsing is a special form of recursive-descent parsing, in which the current input token unambiguously determines the production to be applied at each step.

29
If r and s are regular expressions denoting languages L(r) and L(s), then (r)|(s) is a regular expression denoting:
Answer
A. L(r) U L(s)
30
What will the following program fragment output?
Integer i=new integer (5);
Integer j=new Integer (5);
If (i==j)System.out.println(“Equal”);
else System.out.println(“Not equal”);
Answer
B. Not Equal
31
A grammar with the property that no production right side has two adjacent non-terminals is called:
Answer
C. Operator Grammar
32
Yacc is a:
Answer
B. Parser generator
33
.............. uses an FAT for file allocation.
Answer
A. OS/2
34
Which among the following is true of LL (1) grammar?
Answer
B. not ambiguous
35
Apple Computer’s version of the high-performance serial bus used to connect devices to the personal computer is:
Answer
A. Fire Wire
36
Which among the following is a set of ANSI parallel interfaces that allow personal computers to communicate with peripheral hardware?
Answer
B. SCSI
37
Which among the following is false?
Answer
D. If a relation scheme has partial dependencies, it is in Second Normal Form.
38
A foreign key imposes a specific kind of integrity to related tables. What is the name of this integrity?
Answer
B. Referential
39
Which among the following is a high-bandwidth interface between a computer and a hard disk or a tape device? The latest version of this interface supports RAID.
Answer
A. Intelligent Peripheral interface
40
The ............... consists of individual user views of portions of the database.
Answer
C. External-level Schema
41
An attribute that is used as a linkage from records in one table to a record in another table is specified as the ..............
Answer
B. Foreign Key
42
Data is stored on computer systems in files. The two basic file types are:
Answer
B. Master and Transaction
43
Which of the following statements in not true with respect to the characteristics of the Master and the Transaction files?
Answer
C. A transaction file is similar to a ledger in a manual accounting system
44
Which of the following cannot be blank (Null)?
Answer
C. Primary Key
45
Every DBMS provides for the three basic functions of creating, modifying and querying the database. Sets of commands (languages) exist to perform each of the three functions. Select the option that matches the order of the languages to the order of the functions: querying, creating and modifying the database.
Answer
A. DQL,DDL,DML
46
Third normal form is a tem used to describe:
Answer
A. a database that is well structured
47
A plug-and –play interface that allows you to add a new device such as a scanner or printer to your computer without having to add an adapter card or even having turn the computer off is:
Answer
B. Universal Serial Bus
48
The microchip that controls a computer’s interface to its attached serial devices is:
Answer
B. Universal Asynchronous Receiver/Transmitter
49
Anomalies can occur in a poorly designed database. One type of anomaly occurs when the removal of a record in the customer table inadvertently removes information about sales. What is the name of this anomaly?
Answer
B. Delete anomaly
50
“Get me the date attribute of the third tuple in the sales order relation”. What is being requested?
Answer
C. The person wants the value in the date field of the third record in the sales order table.
51
The file-oriented approach to data storage creates a set of files for each application program. The database approach combines all of the files in a database and lets the application programs get the data that they needs through a DBMS. Which of the following statements is correct?
Answer
D. All of the above are correct
52
When is the TTL field in an IP packet decremented?
Answer
A. Each time the packet is forwarded
53
Which protocol is used to carry error messages from the network to an IP source?
Answer
C. ICMP
54
In which cache mapping method is it possible to load each main memory block to any line of the cache?
Answer
B. Associative mapping
55
The capacity of a double-sided dual- layer DVD-ROM is:
Answer
D. 17 GB
56
Which among the following chips is a Programmable Peripheral Interface?
Answer
A. 82C55A
57
Which among the following is a little-endian machine?
Answer
A. DEC Alpha
58
Hexadecimal equivalent of the decimal number 204.125 is:
Answer
D. CC.2
59
Decimal equivalent of the binary number 11100.101 is:
Answer
B. 28.625
60
Which of the following is TRUE about the switch statement in Java?
Answer
B. A break sends execution immediately to the end of the switch statement
61
Among these Java expressions, which is of type String?
Answer
D. (A) and (b)
62
Which among the following is false?
Answer
D. Not all grammars can be converted to an equivalent operator grammar
63
The interface of a class refers to:
Answer
B. the list of all of the public fields and public methods of the class

64. Consider the following Java code fragment.

Rectangle r1=new Rectangle();
R1.setColor(Color.blue);
Rectangle r2=r1;
R2.setColor(Color.red);

After the above code is executed, what are the colors of r1 and r2 (in this order)?
(A) Color.blue, Color.red
(B) Color.blue, Color.blue
(C) Color.blue, Color.red
(D) Color.red, Color.blue
Answer: A

65
What is the type and value of the following Java expression?
-4+1/2+2*-3+5.0
Answer
D. double -5.0

66. Consider the two Java methods(within the same class):

Public int foo(int a, String s)
{ s=”Yellow”;a=a+2;return a;)}
Public void bar()
{ int a =3;
String s=”Blue”;
A=foo(a,s); System.out.println(“a=”+a+”s=”+s);}

What is printed?
(A) a=3 s=Blue
(B) a=5 s=Yellow
(C) a=3 s=Yellow
(D) a=5 s=Blue
Answer: D

67
Using De Morgan’s law, how would you rewrite the following: Conditional statement? (i.e. rewrite the statement using && instead of || ) (c!=’n’ && z+2<=5)
Answer
D. !(c==’n’ || z+2>5)
68
IEEE 802.11 standard is known as:
Answer
A. CSMA/CA
69
Which of the following protocols is used to share the same IP address among different computers (as long as they are not simultaneously active)?
Answer
B. DHCP
70
Ipv6 uses ............... bit addresses.
Answer
C. 128

71. Consider the following Java class definition:

Public class Myclass{
private int value;
public void setValue(int i){/*code*/}
//Other methods…}

The method setValue assigns the value of i to the instances field value. What could you write for the implementation of setValue?
(A) value=I;
(B) this.value=I;
(C) value= = I;
(D) (A) and (b)
Answer: D

72
Consider the following truth table for a logical operator “implies”:
P Q P implies Q
T T T
T F F
F T T
F F T
Which of the following java conditional expressions would reproduce the above truth table?
Answer
C. (!P) || Q
73
Which among the following involves modifying your computer so that the microprocessor runs faster than the manufacturer-specified speed?
Answer
D. overclocking
74
Which was the first processor to be shipped with a 1 gigahertz clock speed?
Answer
A. Athlon
75
Which among the following involve the continuous and somewhat overlapped movement of instructions to the processor?
Answer
D. pipelining
76
The data path and physical interface between the processor and the L1 and L2 memory is called:
Answer
B. Backside bus
77
A group of microchips designed to work as a unit to perform one or more related functions is called:
Answer
C. Chipset
78
On a PC the keyboard and mouse are connected through .............. interface.
Answer
B. Serial
79
An interconnection system between a microprocessor and attached devices in which expansion slots are spaced closely for high speed operation is:
Answer
A. Peripheral Component Interconnect
80
A term for technologies in which human neural activity or states would effectively be an input peripheral for a computer is:
Answer
D. Brain-Machine interface
81
Which among the following is a boot loader?
Answer
A. LILO
82
Which among the following is the fastest sorting method?
Answer
A. Heapsort
83
Who developed the concept of semaphores?
Answer
D. Dijkstra
84
Which among the following is not object oriented?
Answer
D. LISP
85
Which among the following is used for file sharing among different platforms?
Answer
D. SAMBA
86
Which among the following SQL commands is a projection operation?
Answer
B. SELECT
87
Which among the following is a clipping algorithm?
Answer
B. Cohen-Sutherland
88
Which is not a comparison based sort?
Answer
A. Radix Sort
89
The worst case time of Quick sort is?
Answer
D. O(n2)
90
The port number used by SMTP is:
Answer
C. 25
91
Which among the following problems is undecidable?
Answer
D. All of the above.
92
Which algorithm is used to form a minimum spanning tree?
Answer
A. Prim’s algorithm
93
In linux, the daemon which runs user programs at periodic scheduled times is:
Answer
C. crond
94
Which of the following is a screen, attached externally to a monitor, that plugs into a serial or Universal Serial Bus(USB) port or a bus card installed inside the computer?
Answer
D. touch screen
95
The designation for an electronics standard for connecting devices to your personal computer is:
Answer
B. IEEE 1394
96
In a Java program, you read the following statement that compiles and executes:
Cookie cookie=new Cookie(“chocolate chips”);
What can you conclude?
Answer
D. (A) and (C)
97
You are programming a game of dice in Java. You need to generate a random integer that can be 1,2,3,4,5 or 6. Which of the following expression would you select?
Answer
C. (int)(Math.random( )*6)+1
98
Which among the following is not an e-mail protocol?
Answer
D. SNMP
99
In linux, what does runlevel 6 of init do?
Answer
A. reboot
100
Which among the following products is a proxy server?
Answer
A. Squid

PSC HSST Computer Science Model Questions & Answers : Part 2

PSC HSST Computer Science Model Questions and Answers – Part 3

HSST Computer Science Model Questions and Answers – Part 4

PSC HSST Computer Science Model Questions and Answers – Part 5

PSC HSST Computer Science Model Questions and Answers – Part 6

Related reading

Most Recommended Links

21 comments

Ask a doubt or share a tip.

  1. Good work….Very helpful.
    I have doubt regarding this question
    In which cache mapping method is it possible to load each main memory block to any line of the cache?
    Is the answer associative mapping?

    1. Hello thanks Anu for reporting the mistake.

      You are right, the answer is “Associative mapping”.

      We have corrected the mistake.

    1. Hello thanks SHAKKIRA for reporting the mistake.

      You are right, the answer is “B”.

      We have corrected the mistake.

  2. Hi

    Good attempt…

    Any Idea about the exam date of hsst computer science?

    Can you suggest a good study material?

    Expect more updations from your side.

    pramod

  3. like to know whether gk questions r included for hsst cs/ca exam

  4. Hello,
    4. The cache which is on the same chip as the processor is called :
    (A) L1
    (B) L2
    (C) L3
    (D) None of these
    Answer: A
    Is this the correct answer? In some systems it seems to be different. The Intel 80486 microprocessor, L1 has cache block of 64k bytes, L2 has 256k bytes of memory cache and L3 is set on a processor chip. (from Internet).

    Thank you so much for uploading the solved questions. It helps a lot. 🙂

    1. PSC provided the answer L1 cache in their answer key. There may be special cases for microprocessors like Intel 80486.
      Thanks for commenting… 🙂🙂🙂 and keep your support.

  5. 97 answer correct? I think the options are wrong as instead of * it seems % operator.

  6. 65. What is the type and value of the following Java expression?
    -4+1/2+2*-3+5.0
    (A) int -5
    (B) double -4.5
    (C) int -4
    (D) double -5.0
    Answer: D

    Can Admin or any one please explain the answer?
    * and / has a level 12 precedence and a left to right associativity so -4+1/2+2*-3+5.0 = -4 + .5 – 6 + 5.0 = -3.5 -1 = – 4.5, is the result what I worked out.

  7. Hi
    can u pls explain the part 2 syllabus?
    Is there any constitution and teaching aptitude for computer science?
    How many marks from this part 2?

Leave a comment

Your email address and number are never published. Required fields are marked

Never published. We use it only to reach you on WhatsApp.