STET Computer Science : Asked Question-2023 (part-1)

STET Computer Science : Asked Question (2023)

Total Questions : 60

Timer : sec

Question : What is the main purpose of inheritance in OOP?

To create instances of classes
To prevent data abstraction
To establish a parent-child relationship between classes
To define exceptions
none of these

Question : Which principle ensures that only essential information is visible to the outside world?

Polymorphism
Information hiding
Encapsulation
Abstraction
all of these

Question : Which of the following best defines a class?

An instance of an object
A blueprint for creating objects
A variable holding data
A function with a return value
none of these

Question : What is the purpose of the "super" keyword in Java and other similar languages?

It refers to the superclass in inheritance
It creates a new object instance
It defines a new class
It handles exceptions
none of these

Question : What is an abstract class in OOP?

A class with no methods
A class that cannot be instantiated
A class that can only have private members
A class that cannot have methods with parameters
all of these

Question : Which keyword is used to create an instance of a class in most programming languages?

alloc
new
create
instance
none of these

Question : What is the purpose of staffing level estimation in software project management?

To determine the number of hardware components required
To identify potential risks in the project
To allocate appropriate resources to the project
To estimate the maintenance costs of the software
none of these

Question : Which metric is used for estimating the size of a software project?

Cyclomatic Complexity
Function Points (FP)
Defect Density
Software Reliability Index
none of these

Question : What is the main goal of System Testing?

Testing individual components in isolation
Testing the integration between different software components
Testing software functionality from the user's perspective
Identifying defects in the source code
all of these

Question : Which testing approach involves testing individual components or units of code?

Integration Testing
System Testing
Unit Testing
Acceptance Testing
none of these

Question : Reverse engineering is primarily used for:

Creating new software from scratch
Improving software performance
Understanding and documenting existing software
Testing software components
all of these

Question : What is the main goal of software quality assurance?

To eliminate all defects from the software
To ensure the software is defect-free before release
To establish and enforce standards and processes to improve software quality
To test software under different conditions
all of these

Question : Which software life cycle model allows for iterative development and incorporates risk analysis?

Waterfall model
Prototype model
Spiral model
Agile model
none of these

Question : What is the purpose of ARP (Address Resolution Protocol)?

To assign IP addresses to devices
To resolve domain names to IP addresses
To map MAC addresses to IP addresses
To manage network congestion
none of these

Question : Routing involves:

Dividing data into frames
Managing flow control
Determining the best path for data packets
Correcting errors in data transmission
all of these

Question : Contention-based MAC protocols are commonly used in:

Ethernet networks
Token Ring networks
ATM networks
Point-to-Point networks
none of these

Question : Which of the following is NOT a network topology?

Star
Ring
Disk
Mesh
none of these

Question : Data transmission using multiple pathways simultaneously is known as:

Parallel Transmission
Serial Transmission
Duplex Transmission
Half-duplex Transmission
Simultaneous transmission

Question : What is a socket in the context of process-to-process communication?

A hardware device for data transmission
A software interface for network communication
A type of cable used for high-speed data transmission
type of network topology
all of the above

Question : What is the primary function of routing in the network layer?

Data framing
Error correction
Finding the best path for data
Flow control
all of the above

Question : The term "Data" refers to:

The electronic representation of the information(or data)
Basic information
Row Facts and figures
Option 1st and 2nd
none of these

Question : The term "FAT" is stands for_____

File Allocation Tree
File Allocation Table
File Allocation Graph
All of the above
none of these

Question : The term "DFD" stands for?

Data file diagram
Data flow document
Data flow diagram
None of the above
Data function diagram

Question : Which of the following is a top-down approach in which the entity's higher level can be divided into two lower sub-entities?

Aggregation
Generalization
Specialization
All of the above
none of these

Question : The term "NTFS" refers to which one of the following?

New Technology File System
New Tree File System
New Table type File System
Non Transcational file system
none of these

Question : Which of the following is correct according to the technology deployed by DBMS?

Pointers are used to maintain transactional integrity and consistency
Cursors are used to maintain transactional integrity and consistency
Locks are used to maintain transactional integrity and consistency
Triggers are used to maintain transactional integrity and consistency
none of these

Question : What is DBMS?

DBMS is a collection of queries
DBMS is a high-level language
DBMS is a programming language
DBMS stores, modifies and retrieves data
all of the above

Question : In multiprogramming with fixed partitions, if a process requires more memory than is available in a partition, it may lead to:

Fragmentation
Deadlock
Priority inversion
Starvation
none of these

Question : The purpose of a page table in a paging system is to:

Store pages of memory
Manage input/output operations
Translate virtual addresses to physical addresses
Store program instructions
all of these

Question : The primary goal of load control is to:

Prevent processes from running concurrently
Avoid context switching between processes
Ensure that CPU time is evenly distributed among processes
Maximize the usage of virtual memory
all of these

Question : The I/O subsystem in an operating system is responsible for:

Allocating memory for processes
Managing the file system
Managing input/output operations between processes and input/output devices
Allocating CPU time to processes
none

Question : File manipulation operations in an operating system include:

Allocating memory to files
Assigning file names to processes
Loading files into CPU registers
Reading, writing, and modifying file content
none of these

Question : In an operating system, a "buffer cache" is used to:

Store files in memory
Store copies of frequently used files in memory
Store the operating system kernel
Store input/output devices
all of these

Question : A formal model of protection in an operating system provides:

A mathematical framework for analyzing resource allocation
Guidelines for designing user interfaces
Methods for optimizing memory management
Techniques for improving CPU utilization
none of these

Question : The process of removing recursion involves replacing recursive function calls with:

More recursive function calls
Loops
Additional memory allocation
Non-recursive function calls
none of these

Question : In the Tower of Hanoi problem with "n" disks, how many moves are required to solve the problem?

n
2n
2^n - 1
2^n
all of the above

Question : Which collision resolution technique involves placing collided elements in the next available empty slot in the hash table?

Linear probing
Quadratic probing
Separate chaining
Double hashing
none of these

Question : Separate chaining involves storing collided elements in separate data structures, typically in:

Linked lists
Arrays
Stacks
Queues
All of the above

Question : In a directed graph, an edge that points from vertex A to vertex B is denoted as:

(A, B)
[A, B]
A,B
{A, B}
All of the above

Question : Which traversal algorithm is typically implemented using a stack data structure?

DFS
BFS
Both DFS and BFS
Neither DFS nor BFS
none of these

Question : A threaded binary tree is a binary tree in which:

Each node has two children
Each node has at most one child
Each node is connected to its parent
Each node has a thread connecting it to its predecessor or successor
all of the above

Question : Divide and Conquer is an algorithmic paradigm that solves problems by:

Iteratively solving subproblems
Recursively solving subproblems
Using heuristics to find solutions
Greedily combining solutions
none of these

Question : The recurrence equation T(n) = T(n/2) + 1 represents the time complexity of which algorithmic paradigm?

Divide and Conquer
Greedy Algorithms
Dynamic Programming
Brute Force
none of these

Question : If an algorithm's behavior is bounded by "o(f(n)) if g(n)", what notation does it become when the condition is removed?

o(f(n))
o(g(n))
o(f(n) + g(n))
o(f(n) * g(n))
none of these

Question : Conditional asymptotic notation allows for a more nuanced analysis of algorithm behavior under specific conditions. This is particularly useful when:

Analyzing algorithms with constant time complexity
The input size is fixed
The input data is random
Algorithm behavior varies based on certain input characteristics
none of these

Question : Which term refers to the strategy of optimizing an algorithm's use of resources, often by making sacrifices in one aspect for improvements in another?

Greedy algorithm
Divide and conquer
Dynamic programming
Tradeoff
all of these
Analyzing algorithms with constant time complexity

Question : Which data structure often results in a time-space tradeoff by using extra memory to speed up operations?

Arrays
Linked lists
Hash tables
Stacks
Tree

Question : Microcontrollers find application in various fields. What is a typical application of microcontrollers in the automotive industry?

Operating systems for computers
Entertainment systems in airplanes
Engine control in cars
Weather forecasting systems
all of these

Question : How is the width of the data bus typically measured in a microcomputer system?

In kilobytes (KB)
In megahertz (MHz)
In bits
In address lines
none of these

Question : Which component of an ideal microcomputer is responsible for temporarily holding data and instructions during processing?

CPU
ALU
Memory
Output devices
motherboard

Question : To convert a Gray Code to its binary equivalent, which technique is commonly used?

Subtraction method
Addition method
Exclusive OR (XOR) operation
Division method
all of the above

Question : What is the relationship between the distance between parity bits and their error detection and correction capability in Hamming Code?

Closer parity bits provide higher error correction capability
Closer parity bits provide lower error correction capability
Distance between parity bits has no impact on error correction capability
The position of parity bits is irrelevant in Hamming Code
none of these

Question : In binary multiplication using the simple method, what is the first step after aligning the digits and preparing for multiplication?

Multiply the least significant bit (LSB) by the multiplier
Multiply the most significant bit (MSB) by the multiplier
Multiply the least significant bit (LSB) by the multiplicand
Multiply the most significant bit (MSB) by the multiplicand
all of the above

Question : If the sum of two positive binary numbers is 11010 and there is a carry-out from the MSB, what should be done to obtain the correct result?

Discard the carry
Add the carry to the least significant bit (LSB)
Add the carry to the most significant bit (MSB)
Subtract the carry from the MSB
remove the carry from the MSB

Question : Given a Boolean function F(A, B, C) = Σ(0, 1, 2, 3, 5), what is the expression in SOP form?

A'B' + AB' + AB + AC
A + B + C
AB' + C'
A'B'C'
ABC'

Question : What is the primary difference between ROM and RAM?

ROM is faster than RAM
ROM is volatile, while RAM is non-volatile
ROM is used for data storage, while RAM is used for program execution
ROM stores permanent data that cannot be changed, while RAM stores temporary data that can be read and written
none of these

Question : Which logic family uses both depletion and enhancement mode MOSFETs for its operation?

TTL
ECL
PMOS
CMOS
none of these

Question : Which type of register is primarily used to temporarily hold data during arithmetic and logical operations in a microprocessor?

Shift register
Parallel register
Accumulator register
Counter register
none of these

Question : In a PLA, what components are used to implement the combinational logic functions?

AND gates and OR gates
NAND gates and XOR gates
NOR gates and XNOR gates
NOT gates and multiplexers
none of these

Question : What is the simplified expression for the Boolean function F(A, B, C, D) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14) using the K-map method?

A'B'C'D' + A'B'C'D + A'BC'D + AB'C'D + ABCD
A'B'C'D' + A'BC'D + AB'C'D + ABC'D + ABCD
A'B'C'D' + A'BC'D + ABC'D + ABCD
A'B'C'D' + A'BC'D' + A'BCD + ABCD
None of these