Screening Test for recruitment to the post of ASSISTANT SYSTEM ENGINEER IN THE OFFICE OF THE DTE OF HR & TECHNICAL EDUATION — question paper
Source note: KSLC indexes previous-year papers for practice and revision. Copyright and official exam ownership remain with the respective examination authorities. When a record uses an official public source, use that authority's notice as final.
Historical paper · reviewed structured rendering
Screening Test for recruitment to the post of ASSISTANT SYSTEM ENGINEER IN THE OFFICE OF THE DTE OF HR & TECHNICAL EDUATION
Paper #3113 · 21-09-2019 · 123 reviewed questions · Showing 81–120 of 123
Accuracy note: This is a reviewed structured rendering of an official previous-year paper and may cover only part of it. Where available, explanatory notes describe unresolved source or answer issues without supplying a scoring answer. Official examination authority notices remain final.
Complete original Series II question PDF, including its original figures and options. KSLC numbered study explanations cover all 150 positions in 6 source-reference sections. Independently worked KSLC answers, not an official key or student-suggested answers. 146 positions have a worked answer; 4 unresolved printed-choice items have explanations for later review. Best-effort source searches did not establish a matching official key. These sections accompany the original PDF and are not new individually auto-scoring MCQ cards. Examination: 21 September 2019 in the official source filename; recruitment cycle: not independently established from the booklet cover.
-
Given the C declarations int a = 4; int b = 6;, what value does a == b produce when printed using %d?
-
In C, consider:
typedef char x[10];
x myarray[5];
Assuming each char occupies one byte, what value does sizeof(myarray) return? -
Evaluate this C integer expression using standard precedence and left-to-right associativity for *, /, and %:
4 + 6 / 3 * 2 - 2 + 7 % 3 -
Consider the following declarations and assignments in standard C. Which statement correctly identifies the invalid assignments?
char *a, *b, c[10], d[10];
a = b;
b = c;
c = d;
d = a; -
In standard C, what is the result of this statement?
printf("%d", ++5); -
In Java, how many bytes does a value of the primitive type double occupy?
-
Let Root be a class and Branch a subclass of Root. If thisBranch refers to a Branch object, what is the value of the Java expression thisBranch instanceof Root?
-
Which Java package contains the StringTokenizer class?
-
In Java, which method may be invoked by the garbage collector before reclaiming an object if the class overrides it? (Legacy finalization is deprecated and invocation is not guaranteed.)
-
In process synchronization, what is a critical section (critical region)?
-
Which set lists all four necessary conditions for deadlock (the Coffman conditions) in a resource-allocation system?
-
What decision does a disk-scheduling algorithm make?
-
In virtual-memory management, what does the dirty bit for a page indicate?
-
In a typical process-state model, a process is blocked while waiting for an I/O operation. When the I/O completes, which state does it enter next?
-
Which page-replacement policy can exhibit Belady’s anomaly, in which increasing the number of page frames can increase the number of page faults?
-
Which CPU-scheduling policy is commonly suited to interactive, time-sharing systems because it gives each ready process a turn for a fixed time quantum?
-
In Unix-like command-line usage, which command is not generally a filter that reads input data and produces transformed or selected output?
-
Assuming the referenced parent directories exist, what does the command cd ../../.. do in a Unix-like shell?
-
In finite-state machines, how does output generation in a Moore machine differ from that in a Mealy machine?
-
Which class of formal languages can a finite-state machine recognize?
-
The pumping lemma for regular languages is commonly used to prove that a language is:
-
Consider the context-free grammar
S → aB | bA
A → a | aS | bAA
B → b | bS | aBB
Which property holds for every terminal string generated from S? -
Which grammar generates a language that no finite-state machine can recognize?
-
Which operation is context-free languages (CFLs) not closed under? Here, “not closed” means that applying the operation to CFLs can produce a language that is not context-free.
-
A pushdown automaton with how many unbounded stacks can simulate a Turing machine?
-
Can any Turing machine decide, for every possible program and input, whether that program eventually halts on that input?
-
Using the POSIX expr utility in a Unix-like shell, which command reports an error because it attempts division by zero?
-
Assume each logged-in terminal appears as one line in who output. If 7 terminals are logged in, what does this shell command display?
date; who | wc -l -
When mv renames a file within the same filesystem, what does it primarily change?
-
A relation is in 1NF, and every non-prime attribute is fully functionally dependent on each candidate key (there is no partial dependency on a proper subset of a candidate key). What is the highest normal form guaranteed by this condition?
-
In the Chen notation for an entity–relationship (E–R) diagram, what do ellipses (ovals) represent?
-
A data model is a collection of concepts used to describe which aspects of a database?
-
In conceptual database design, entity–relationship (E–R) modeling is generally considered which approach?
-
When a foreign key in a child table references the primary key of a parent table, what relationship does this establish?
-
A weak entity is identified using the key of an owner entity together with its own partial key. What is the usual cardinality from the owner entity to the weak entity?
-
Under a standard shared/exclusive locking protocol, assume no conflicting lock request is queued. Transaction A holds a shared lock S(R). Transaction B requests S(R). What happens?
-
In Oracle SQL, what result set does this query return?
SELECT 'Hi' FROM DUAL WHERE 1 = NULL; -
Which join matches rows from two tables using an equality condition between their columns?
-
Under standard SQL logical-operator precedence, in what order are NOT, AND, and OR evaluated when parentheses do not override it?
-
Consider the grammar over {a, b}:
S → aSa | bSb | a | b
Which language does it generate?