Computer Science/IT MCQs
Topic Notes: Computer Science/IT
MCQs and preparation resources for competitive exams, covering important concepts, past papers, and detailed explanations.
Plato
- Biography: Ancient Greek philosopher (427–347 BCE), student of Socrates and teacher of Aristotle, founder of the Academy in Athens.
- Important Ideas:
- Theory of Forms
- Philosopher-King
- Ideal State
251
Which early computer system is famously associated with solidifying the use of the term "bug" to describe a programming or hardware error after a literal insect caused a malfunction?
Answer:
Harvard Mark II
The term 'bug' to describe a technical flaw predates computing; Thomas Edison notably used it in 1878. However, its widespread popularization in the realm of computers is directly linked to an incident on September 9, 1947. Operators working on the Harvard Mark II electromechanical computer at Harvard University discovered a moth trapped in a relay, which was causing the machine to malfunction. Grace Hopper, a pioneering computer scientist, often recounted the story of how the moth was carefully removed and taped into the operational logbook, with the notation: 'First actual case of bug being found.' This tangible event significantly contributed to the adoption of 'bug' as the standard term for a computer error or glitch.
252
Which technology company is credited with the initial development and release of the Java programming language, renowned for its platform-independent 'Write Once, Run Anywhere' capability?
Answer:
Sun Microsystems
The Java programming language was originally developed by James Gosling and his team at Sun Microsystems. It was first released in 1995 with the core principle of 'Write Once, Run Anywhere' (WORA), meaning that compiled Java code could run on any device equipped with a Java Virtual Machine (JVM), regardless of the underlying operating system or hardware architecture. This commitment to platform independence was a revolutionary concept that significantly contributed to Java's widespread adoption.
253
Which of these consumer technologies was the very first to incorporate a microprocessor?
Answer:
A handheld electronic calculator
The Intel 4004, introduced in 1971, is widely recognized as the first commercially produced microprocessor. This groundbreaking chip was specifically designed and initially utilized by the Japanese company Busicom for their 141-PF printing calculator. This makes the handheld electronic calculator the pioneering consumer product to integrate a microprocessor, predating personal computers, video game consoles, and digital watches in this aspect. Early personal computers and video game consoles, while also microprocessor-based, emerged later in the 1970s.
254
The programming language "Perl" is particularly well-known for its strong capabilities in:
Answer:
Text processing and regular expressions
Created by Larry Wall, Perl gained widespread popularity in the 1990s as a scripting language for CGI (Common Gateway Interface) scripts on web servers. It is renowned for its powerful and flexible text manipulation features.
255
When was the operating system Windows 10 released?
Answer:
2015
Microsoft officially released Windows 10 on July 29, 2015. It was a major update that brought back the Start Menu, introduced the Cortana voice assistant, and aimed to create a unified experience across different devices.
256
Which type of language was used to program first-generation computers?
Answer:
Machine language
Programming in the first generation was done directly in machine language, which consists of binary code (0s and 1s). This made programming extremely difficult, tedious, and error-prone.
257
Which of the following best describes the primary motivation behind Niklaus Wirth's development of the Pascal programming language between 1968 and 1971?
Answer:
To create an educational tool that promotes structured programming methodologies and systematic software development practices.
Niklaus Wirth's primary objective in designing Pascal was fundamentally pedagogical. He aimed to create a programming language that would be an ideal teaching tool, enforcing good programming habits, promoting structured programming principles, and encouraging systematic design among students. Pascal's features, such as strong typing, clear syntax, explicit control structures, and support for data structuring, were carefully chosen to facilitate the learning and application of disciplined software engineering practices. While Pascal found applications in various domains, including some scientific computing and even systems programming (like Apple Lisa's OS), these were secondary to its core design philosophy, which prioritized clarity, expressiveness, and the cultivation of sound programming methodologies for educational purposes.
258
Who is credited as the world's first computer programmer for her work on Charles Babbage's Analytical Engine?
Answer:
Ada Lovelace
Ada Lovelace, a mathematician and writer, published the first algorithm intended to be processed by a machine. Her detailed notes on the Analytical Engine are considered the first description of computer software.
259
Which early computer, notable for its significant physical size and reliance on vacuum tubes for operation, is widely recognized as the first general-purpose electronic digital computer?
Answer:
ENIAC
ENIAC (Electronic Numerical Integrator and Computer) was completed in 1945 and is a landmark in computing history. It was indeed a colossal machine, weighing nearly 30 tons, occupying 1,800 square feet, and consuming 150 kW of power. Its operation relied on approximately 17,468 vacuum tubes, which contributed to its massive size but enabled unprecedented computational speed for its time. Designed primarily for calculating artillery firing tables for the U.S. Army's Ballistic Research Laboratory, ENIAC was fully programmable and Turing-complete, making it the first electronic general-purpose digital computer capable of solving a broad range of numerical problems, not just specialized tasks. UNIVAC I (Universal Automatic Computer I) was the first commercial computer produced in the United States and was delivered in 1951, several years after ENIAC. IBM System/360 was a family of mainframe computer systems released in 1964, representing a major shift towards compatible computer architectures. Colossus was a series of electronic digital computers developed in Britain during World War II, primarily for cryptanalysis to decrypt German ciphers. While electronic and digital, it was not considered general-purpose as its primary function was highly specific.
260
Which of these is considered a "low-level" programming language?
Answer:
Assembly Language
Assembly language is a low-level language because there is a strong correspondence between its instructions and the machine code instructions of the computer's architecture. It provides very little abstraction from the hardware.