Short Questions (60*1=60 Marks)
1. What is it called when multiple threads are in execution?
Multiprocessing
Multithreading
Parallel processing
Concurrent execution
2. Which two main processes does Natural Language Processing (NLP) contain?
Natural Language Understanding (NLU) and Natural Language Generation (NLG)
Natural Language Interpretation (NLI) and Natural Language Synthesis (NLS)
Natural Language Analysis (NLA) and Natural Language Production (NLP)
Natural Language Recognition (NLR) and Natural Language Output (NLO)
3. What is a key limitation of Finite State Machines (FSM)?
Cannot handle parallel processes
Cannot handle recursive functions
Cannot handle context-dependent behavior
Cannot handle non-deterministic input
4. How many parallel TCP connections does FTP use?
1
2
3
4
5. What is the formula for no-load voltage gain of a BJT in fixed bias configuration?
-β(Rc/re)
β(Rc/re)
-(Rc/re)
(β/Rc)*re
6. What is the formula for 3D rotation around the z-axis?
7. In a multiprocessor environment, how is synchronization typically achieved?
Using semaphores or mutexes
Using shared memory
Using cache coherence protocols
Using message passing
8. What is the transformation matrix for oblique parallel projection?
9. If three 2-ohm resistors are connected in a triangle, what is the resistance measured between any two terminals?
0.67 ohms
1 ohm
1.33 ohms
2 ohms
10. What is the time complexity of the quicksort algorithm in the average case?
O(n)
O(n²)
O(n log n)
O(log n)
11. What is the purpose of virtual memory in operating systems?
To provide an illusion of larger main memory than physically available
To enhance the speed of the CPU
To increase the security of the system
To manage peripheral devices
12. How many main types of parsing are there?
One: Top-down parsing
One: Bottom-up parsing
Two: Top-down parsing and Bottom-up parsing
Three: Top-down parsing, Bottom-up parsing, and Middle-out parsing
13. What is the difference between compiler and interpreter?
A compiler translates the entire program at once, while an interpreter translates line by line
A compiler translates line by line, while an interpreter translates the entire program at once
Both translate the entire program at once
Both translate line by line
14. How does capacitive reactance change with increasing frequency?
Capacitive reactance increases
Capacitive reactance decreases
Capacitive reactance remains constant
Capacitive reactance becomes zero
15. How many transistors are typically used in a Class A amplifier?
One transistor
Two transistors
Three transistors
Four transistors
16. What does Ti <A, v1, v2>
typically represent in database systems?
Ti <A, v1, v2>
typically represent in database systems?A table
A transaction
An attribute
A view
17. If the annual worth is 9000, what is the capitalized worth at 10%?
10,000
45,000
90,000
100,000
18. What are the types of perspective projections?
Parallel projection, Orthographic projection, Isometric projection
One-point perspective, Two-point perspective, Three-point perspective
Linear perspective, Aerial perspective, Forced perspective
Vanishing point, Horizon line, Ground line
19. In a semaphore problem, what do P and V operations represent?
P represents the signal operation (increment), and V represents the wait operation (decrement)
P represents the wait operation (decrement), and V represents the signal operation (increment)
Both represent the wait operation
Both represent the signal operation
20. Who typically verifies and documents changes in a software project?
Project Manager
Software Quality Assurance (SQA) team
Development Team
End Users
21. The Waterfall model is the oldest approach for what?
System engineering
Software testing
Software engineering
Project management
22. What does "fan-in" refer to in digital logic?
The number of outputs a logic gate can handle
The power consumption of a logic gate
The speed of a logic gate
The number of inputs a logic gate can handle
23. What is admissibility in the context of the A* algorithm?
The heuristic overestimates the cost to the goal
The heuristic never underestimates the cost to the goal
The heuristic never overestimates the cost to the goal
The heuristic is always accurate
24. Who is considered the "Father of AI"?
Alan Turing
John McCarthy
Marvin Minsky
Herbert Simon
25. What type of connector is typically used in Shielded Twisted Pair (STP) cable?
BNC connector
RJ11 connector
RJ45 connector
SC connector
26. What is the purpose of the volatile keyword in C?
To optimize the variable for faster access
To indicate that a variable may change unexpectedly
To allocate memory dynamically
To protect the variable from modification
27. What is the difference between process and thread?
A process is an independent program, while a thread is a subset of a process
A thread is an independent program, while a process is a subset of a thread
A process runs within a thread, while a thread runs independently
A thread has its own memory space, while a process shares memory space
28. What is the output of a given C++ program?
0
1
]
[
29. What type of oscillator is a Wien bridge oscillator?
High-frequency oscillator
Low-frequency oscillator
Medium-frequency oscillator
Voltage-controlled oscillator
30. Which of the following is not a decoder: 4:2, 8:3, 16:4, or 5:32?
4:2
8:3
16:4
5:32
31. Which of these cannot be used as a variable name in C: true or while?
true
while
32. After which step is software typically ready in the spiral model?
Usually after the 1st iteration
Usually after the 2nd iteration
Usually after the 3rd iteration
Usually after the 4th or 5th iteration
33. Priority interruptions make use of which mechanisms?
Interrupt masking and polling
Polling and daisy chain
Interrupt masking and daisy chain
Daisy chain and polling
34. To which pin does the CPU send a signal as a response to the Programmable Interrupt Controller (PIC)?
INTA (Interrupt Acknowledge)
IRQ (Interrupt Request)
NMI (Non-Maskable Interrupt)
INTR (Interrupt Request)
35. What are the three main elements of a use case?
Actor, System, and Goal
Actor, System, and Process
System, Goal, and Action
Actor, Goal, and Process
36. What is the primary function of a Device Driver?
To provide an interface between the operating system and hardware devices
To manage system memory
To execute user programs
To handle network communication
37. What are some unique features of RISC (Reduced Instruction Set Computer) architecture?
Complex instructions, fewer registers, and complex addressing modes
Simple instructions, fewer registers, and complex addressing modes
Simple instructions, more registers, and load-store architecture
Complex instructions, more registers, and load-store architecture
38. What happens when an exception occurs in C++?
The program terminates immediately
The function in which the exception occurs is ignored
A function (exception handler) is called
The program continues to execute without handling the exception
39. How can a weak entity set be changed into a strong entity set?
By introducing a foreign key
By introducing a primary key
By removing all its attributes
By merging it with another weak entity set
40. Which architecture does FTP use?
Peer-to-peer architecture
Client-server architecture
Distributed architecture
Multi-tier architecture
41. Which is considered the most important step in a Genetic Algorithm?
Mutation
Crossover
Selection
Initialization
42. Which type of cryptography uses two keys?
Symmetric cryptography
Asymmetric cryptography
Hash-based cryptography
Elliptic curve cryptography
43. What is used for overloading in programming?
Only type
Only arguments
Both type and arguments
Neither type nor arguments
44. Which of these is a valid definition of a pointer in C?
p = *a
p = &a
*p = a
&p = a
45. A tautology is a statement which is always what?
False
True
Uncertain
Contradictory
46. Excess-3 code is also known as?
Self-correcting code
Self-completing code
Self-adjusting code
Self-encrypting code
47. What is the purpose of normalization in database design?
To increase data redundancy
To reduce data integrity
To reduce data redundancy and improve data integrity
To increase database size
48. What is the difference between Stack and Queue data structures?
Stack is FIFO, Queue is LIFO
Stack is LIFO, Queue is FIFO
Both are FIFO
Both are LIFO
49. What is the purpose of a virtual function in C++?
To achieve compile-time polymorphism
To achieve runtime polymorphism
To improve memory efficiency
To prevent function overloading
50. What is the main advantage of using optical fiber for communication?
Low cost
Easy installation
High bandwidth and low signal loss
Compatibility with older systems
51. What is the purpose of the OSI model in networking?
To increase network speed
To standardize the communication functions of a telecommunication system
To reduce hardware costs
To encrypt network traffic
52. What is the difference between static and dynamic binding in programming?
Static binding is slower, dynamic binding is faster
Static binding uses more memory, dynamic binding uses less
Static binding occurs at compile-time, while dynamic binding occurs at run-time
Static binding is for object-oriented languages, dynamic binding is for procedural languages
53. What is the purpose of a cache in computer architecture?
To increase the main memory size
To reduce the average time to access data from the main memory
To store permanent data
To improve CPU clock speed
54. What is the difference between cohesion and coupling in software engineering?
Cohesion is about modules, coupling is about data
Cohesion is internal, coupling is external
Cohesion measures relationships within a module, coupling measures interdependence between modules
Cohesion is for design, coupling is for implementation
55. What is the purpose of the volatile keyword in Java?
To make a variable constant
To indicate that a variable's value can be changed by multiple threads simultaneously
To improve variable access speed
To prevent variable initialization
56. What is the difference between TCP and UDP protocols?
TCP is faster, UDP is more reliable
TCP uses IP, UDP doesn't
TCP is connection-oriented and reliable, UDP is connectionless and unreliable but faster
TCP is for web browsing, UDP is for email
57. What is the purpose of a Fourier transform in signal processing?
To amplify signals
To filter noise
To convert a signal from the time domain to the frequency domain
To compress data
58. What is the difference between deep copy and shallow copy in object-oriented programming?
Deep copy is faster, shallow copy is slower
Deep copy uses less memory, shallow copy uses more
Deep copy creates a new object and recursively copies nested objects, shallow copy copies references
Deep copy is for primitive types, shallow copy is for objects
59. What is the purpose of a load balancer in network architecture?
To increase network security
To distribute incoming network traffic across multiple servers
To compress network data
To cache frequently accessed data
60. What is the difference between supervised and unsupervised learning in machine learning?
Supervised learning is automatic, unsupervised learning requires human intervention
Supervised learning uses labeled data, unsupervised learning uses unlabeled data
Supervised learning is for classification, unsupervised learning is for regression
Supervised learning is slower, unsupervised learning is faster
Last updated