Download the CST previous year questions PDF
15 questions picked from past CST papers. Every question has the correct answer and a short explanation. Each page is printed in Kannada, followed by the same questions in English.
⬇ Download free PDFPDF · 347 KB · Kannada + English
CST previous year questions with answers
These are the questions in the PDF. Tap “Show answer” to check yourself.
-
The output of an AND gate with three inputs P, Q and R is HIGH when
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: C. P = 1, Q = 1, R = 1
• An AND gate gives output 1 (HIGH) only when every input is 1.
• If any one input is 0, the output is 0 (LOW).
• Only P = 1, Q = 1, R = 1 makes P · Q · R = 1. -
A powerset is the set of all subsets of a given set of n elements. How many such subsets of 2 elements are present in the powerset?
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: C. n(n − 1)/2
• A subset of 2 elements is a choice of 2 elements out of n, order not mattering.
• The number of such choices is nC2 = n!/(2!(n − 2)!).
• This simplifies to n(n − 1)/2; e.g. n = 4 gives 6 two-element subsets. -
The minimum number of edges required to create a cyclic graph of N vertices are
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: A. N
• A connected graph on N vertices with N – 1 edges is a tree, and a tree has no cycle.
• Adding one more edge between two already-connected vertices always creates a cycle.
• So N edges are the minimum for a connected cyclic graph on N vertices, for example a single cycle through all N vertices. -
Two graphs G1 and G2 are said to be isomorphic if
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: A. Their number of vertices and edges are the same and their edge connectivity is retained
• Isomorphic graphs are the same graph drawn with different vertex names.
• There must be a one-to-one mapping of vertices that preserves adjacency (edge connectivity).
• So both graphs have equal numbers of vertices and edges, and connections are kept.
• Equal counts alone are not enough if the edge connections are not preserved. -
The time complexity required to search a key in a binary search tree of height h is
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: C. O(h)
• Searching a BST starts at the root and moves one level down at each comparison.
• At most one node per level is visited, so at most h + 1 comparisons are made.
• Hence search takes O(h); this is O(log n) for a balanced tree and O(n) for a skewed one. -
What kind of register can have a complete binary number loaded into it in one operation, and then have it shifted out one bit at a time?
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: D. Parallel in/Serial out
• Loading all bits in one operation is a parallel input.
• Shifting the bits out one at a time is a serial output.
• A PISO (Parallel In/Serial Out) shift register does exactly this.
• It is used for parallel-to-serial conversion, e.g. before sending data over a serial line. -
Anarkali digitally signs a message and sends it to Salim. Verification of the signature by Salim requires
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: A. Anarkali's public key
• The sender signs a message with the sender's own private key.
• Anyone can verify the signature with the sender's public key.
• So Salim needs Anarkali's public key; her private key is never shared. -
The Schmitt trigger may be used to
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: C. Square slowly varying input
• A Schmitt trigger is a comparator with hysteresis: it switches at an upper threshold and switches back at a lower one.
• A slowly changing or noisy input therefore produces clean, sharp transitions at the output.
• This turns a slowly varying input (such as a sine wave) into a square wave; voltage-frequency conversion needs a VCO or a V/F converter instead. -
In inheritance,
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: B. the virtual function can be overridden
• A virtual function is declared in a base class so that derived classes can override it.
• Once virtual, a function stays virtual in every derived class, even without the keyword.
• A call through a base-class pointer or reference then runs the derived class's version (run-time polymorphism). -
Which of the following ways is legal to access a class data member x using the "this" pointer?
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: A. this->x
• In C++, this is a pointer to the current object, so a member is reached with the arrow operator: this->x.
• this->x means the same as (*this).x — dereference this first, then select x.
• In *this.x the dot binds tighter than *, so this.x is tried first, which is illegal because this is a pointer.
• *(this.x) and (*this.x) make the same mistake; only this->x is legal here. -
A sort which repeatedly passes through a list, exchanging the first element with any element less than it, and then repeats with a new first element is called
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: B. Selection sort
• In each pass the first position of the unsorted part is compared with every later element.
• Whenever a smaller element is found it is exchanged into that first position.
• After the pass the smallest element is fixed there, and the pass repeats from the next position.
• Selecting the minimum for each position this way is selection sort. -
The functionality of the Banker's algorithm is
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: A. To prevent deadlock
• The Banker's algorithm checks every resource request before granting it.
• A request is granted only if the system stays in a safe state afterwards.
• This keeps deadlock from ever occurring (deadlock avoidance), so it is used to prevent deadlock.
• Detection and recovery algorithms act only after a deadlock has happened. -
In a 1:N relationship, the foreign key is placed in
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: C. The child table
• In a 1:N relationship one parent row is related to many child rows.
• A column can hold only one value per row, so the parent cannot store a list of child keys.
• Each child row stores its single parent's primary key as a foreign key.
• Hence the foreign key always goes in the child (the 'many' side) table. -
What device separates a single network into two segments but lets the two segments appear as one to higher protocols ?
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: B. Bridge
• A bridge works at the data link layer and splits one LAN into two segments, filtering frames by MAC address.
• Because it does not change network-layer addressing, both segments remain one network to IP and higher protocols.
• A router, by contrast, joins separate networks, each with its own network address. -
A line connecting the points (1, 1) and (5, 3) is to be drawn using the DDA algorithm. Find the values of the x and y increments.
From: CST 2018 - Specific Paper II (Computer Science)
Show answer
Answer: C. x-increment = 1; y-increment = 0.5
• dx = 5 − 1 = 4 and dy = 3 − 1 = 2.
• Steps = max(|dx|, |dy|) = 4.
• x-increment = dx/steps = 4/4 = 1.
• y-increment = dy/steps = 2/4 = 0.5.
1 CST previous year papers in the Sadhisu app
Practise these full CST papers as timed tests, with answers, explanations and your score:
- CST 2018 - Specific Paper II (Computer Science)
Practise every CST paper in the app
Full previous year papers as timed tests, subject-wise practice, daily current affairs and bilingual study notes.
CST previous year papers — FAQs
Where can I download CST previous year question papers PDF?
This page has a free PDF of 15 solved CST previous year questions. The Sadhisu app has 1 full CST papers — including CST 2018 - Specific Paper II (Computer Science) — to practise as timed tests with answers.
Does the CST PDF have answers?
Yes. Every question has the correct answer and a short explanation, in both Kannada and English.
Are CST question papers available in Kannada?
Yes. The PDF prints each page in Kannada first, followed by the same questions in English.
Is the CST previous year papers PDF free?
Yes. It is free to download and share, and needs no sign-up.