Tag: science & technology

Questions Related to science & technology

Multiple choice general knowledge science & technology
  1. Short Code

  2. PASCAL

  3. C++

  4. JAVA

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Short Code, developed in 1949-1950, was the first high-level programming language actually implemented on an electronic computer (the UNIVAC). It required manual translation to machine code, making it more of a pseudocode system, but represented the first attempt to abstract away from raw machine instructions. Pascal (1970), C++ (1983), and Java (1995) came much later.

Multiple choice general knowledge science & technology
  1. Translator

  2. Locator

  3. Assembler

  4. Compiler

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A compiler is a program that translates high-level programming languages (like C++, Java) into low-level machine code that the computer can execute. While assemblers and translators also handle code conversion, the compiler specifically handles high-level to low-level translation for languages with complex abstractions. A locator is unrelated to language translation.

Multiple choice general knowledge science & technology
  1. -1

  2. 1

  3. 0

  4. None

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In C++, returning 0 from the main() function signals successful program completion to the operating system. Non-zero values typically indicate errors (with specific values sometimes used to distinguish error types). This convention exists in many programming languages and operating systems, where 0 means "no error" and other values indicate failure conditions.

Multiple choice general knowledge science & technology
  1. Pascal Wirth

  2. James Bond

  3. Blaise Pascal

  4. Bill Gates

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Pascal programming language was named after Blaise Pascal, the 17th-century French mathematician and philosopher who invented the mechanical Pascaline calculator. The language itself was created by Niklaus Wirth in 1970 as a language for teaching structured programming. Wirth named it to honor Pascal's contributions to computing history.

Multiple choice general knowledge science & technology
  1. Procedural

  2. Non-Procedural

  3. Both of the Above

  4. Non of the Above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Fourth-generation languages (4GL) are non-procedural, meaning you specify what result you want rather than how to achieve it step-by-step. Examples include SQL and query languages where you declare the desired data without detailing the retrieval algorithm. This contrasts with procedural languages (3GL) like C or Java where you explicitly write execution steps.

Multiple choice general knowledge science & technology
  1. Tiger Graphics

  2. Turtle Graphics

  3. Mouse Graphics

  4. Hi-Res Graphics

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

LOGO is best known for turtle graphics, a feature where students control an on-screen "turtle" that draws as it moves, teaching programming concepts visually. The turtle moves with commands like FORWARD, BACK, LEFT, RIGHT, making abstract programming concepts concrete. This educational approach was revolutionary for teaching programming to children in the 1960s-70s.

Multiple choice general knowledge science & technology
  1. PINE

  2. OAK

  3. LATTE

  4. SUN

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Java was originally called Oak during its development at Sun Microsystems in the early 1990s. The name was inspired by an oak tree outside developer James Gosling's office. It was renamed to Java in 1995 because "Oak" was already trademarked. The new name was chosen arbitrarily, inspired by the team's love for coffee from Indonesia.

Multiple choice general knowledge science & technology
  1. John Travolta

  2. Dennis Ritchie

  3. Bjarne Stroustrup

  4. Benjamin Button

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The C programming language was developed by Dennis Ritchie at Bell Labs in the early 1970s. He created C as a systems programming language for developing the Unix operating system. C's design influenced countless subsequent languages including C++, C#, Java, and Python, making Ritchie one of the most important figures in computing history.

Multiple choice general knowledge science & technology
  1. John Travolta

  2. Dennis Ritchie

  3. Bjarne Stroustrup

  4. Benjamin Button

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Bjarne Stroustrup created C++ as an extension of the C programming language in 1979 at Bell Labs. Dennis Ritchie developed C, not C++. John Travolta and Benjamin Button are unrelated to programming languages.