Computer Science Fundamentals
This comprehensive quiz covers fundamental topics in Computer Science including theory of computation, algorithms, data structures, operating systems, computer architecture, compilers, software engineering, and networking. Designed for GATE and UGC NET Computer Science exam preparation.
Questions
Which of the following best describes aliasing?
- Multiple variables assigned the same value
- Multiple symbolic names and one data location
- Multiple variables assigned the same identifier
- Multiple variables assigned the same constant
- Multiple variables pointed by the same pointer
Which of the following is not true for a device driver?
- Drivers are hardware dependent.
- Drivers are operating system specific.
- Virtual device driver can also send simulated processor level events into the virtual machine.
- Virtual devices cannot operate in a non virtualized environment.
- Device drivers can operate in both user as well as kernel mode.
Which of the following is not true for recursive languages?
- Recursive languages are undecidable.
- Recursive languages are a recursive subset in the set of all possible words over the alphabet of the language.
- Recursive languages are closed under set difference operation.
- Recursive languages are closed under complementation.
- Recursive languages are closed under union.
Where does the microcode reside?
- RAM
- ROM
- Cache memory
- Control store
- Hard disk
Keywords are recognized during which phase of compilation?
- Line reconstruction
- Lexical analysis
- Preprocessing
- Syntax analysis
- Semantic analysis
Which of the following is false regarding parity bit?
- Parity bits are used as the simplest form of error detecting code.
- There are two variants of parity bits.
- Odd parity is a special case of a cyclic redundancy check (CRC).
- Parity is used in many hardware applications.
- Parity data is used by some RAID levels to achieve redundancy.
Which of the following is not true for deterministic context free languages?
- Deterministic context-free languages can be recognized by a deterministic turing machine.
- They are a proper subset of context-free languages.
- They can be accepted by a deterministic pushdown automaton.
- They are closed under union.
- They are closed under complement.
If L and complement of L are both recursively enumerable, which of the following properties definately holds for L?
- Regular
- Context free
- Context sensitive
- Recursive
- Unrestricted
The artifact that contains procedure, or programing code that replicates user actions is called
Software testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test. The software testing process can produce several artifacts.
- test plan
- traceability matrix
- test case
- test script
- test suite
Which CMM level certifies that the process is quantitatively managed in accordance with agreed upon metrics?
- Level 7
- Level 4
- Level 1
- Level 2
- Level 3
What is the objective behind putting more than one words in one cache block?
- To exploit the temporal locality of reference
- To read more data into the memory
- Belady's anomaly
- To reduce the miss penalty
- To reduce the hit ratio
Which of the following fields is not present in the FDDI data frame format?
- Packet data unit
- Start delimiter
- Frame control
- Access control
- Frame check sequence
Which of the following is a type of functional testing?
Functional testing is a quality assurance process and a type of black box testing that bases its test cases on the specifications of the software component under test.
- System testing
- Compatibility testing
- Regression testing
- Load testing
- Security testing
Which of the following states has only one process on any processor at any instant?
- New
- Running
- Waiting
- Ready
- Terminated
What is the worst case space complexity of selection sort?
- O(n2)
- O(n)
- O(nlog n)
- O(n^2log n)
- O(log n)