SSC Computer Class Programming Language PPT Slides (LEC #23)

In this article we will share SSC Computer Class Programming Language PPT Slides (LEC #23), Programming Language is one of the foundational topics in the SSC Computer Awareness syllabus. From SSC CGL and SSC CHSL to RRB NTPC and RRB Group D, questions on programming language types, generations, translators, and popular languages appear in almost every exam. This article is based on the LEC #23 PPT slides from the Complete Foundation Batch and covers every concept you need – definitions, language types, generations, translators, paradigms, popular languages, abbreviations, practice MCQs, and a revision capsule – all in one place.

Lecture Details

ParameterDetails
Lecture NumberLEC #23
TopicProgramming Language
SubjectComputer Awareness – SSC Foundation Batch
Total Slides30
File Size5 MB
Exam RelevanceSSC CGL, SSC CHSL, SSC MTS, SSC CPO, RRB NTPC, RRB Group D, UPSSSC PET

SSC Computer Class Programming Language PPT Slides (LEC #23)

NOTE: IF YOU WANT TO DOWNLOAD COMPLETE SSC SERIES (PPT SLIDES) – JUST VISIT THIS REDIRECT PAGE

What Is a Programming Language?

A programming language is a formal set of instructions that a programmer uses to communicate with a computer. It is a notation system – with its own vocabulary, grammar, and rules – that allows humans to write programs which a computer can execute.

Computers understand only binary code (0s and 1s). A programming language acts as a bridge between human thinking and machine execution. Every software application, website, operating system, and mobile app in the world is built using one or more programming languages.

AspectDetails
DefinitionA formal language with a defined set of rules used to write programs and instruct a computer
PurposeTo tell the computer what to do – input, processing, output, and storage operations
Basic UnitProgram – a sequence of instructions written in a programming language
Key PropertiesSyntax (rules of grammar), Semantics (meaning), Pragmatics (practical use)
Output of a ProgramMachine code (binary) that the CPU can execute directly
Who Writes ProgramsProgrammers, developers, software engineers

Key Terms in Programming Languages

TermDefinition
Source CodeThe human-readable program written by a programmer in a programming language
Object CodeThe machine-readable binary code produced after translating source code
SyntaxThe rules that define the correct structure and grammar of a programming language
SemanticsThe meaning behind the syntactically correct statements in a program
AlgorithmA step-by-step logical procedure designed to solve a specific problem
ProgramA complete set of instructions written in a programming language to perform a task
BugAn error or flaw in a program that causes it to produce incorrect or unexpected results
DebuggingThe process of finding and fixing errors (bugs) in a program
IDEIntegrated Development Environment – software that provides tools for writing, testing, and running code
RuntimeThe period during which a program is executing on a computer

Types of Programming Languages

Programming languages are broadly classified into three types based on their level of abstraction from machine hardware. This classification is the most frequently tested topic in SSC exams.

TypeAlso Known AsDescriptionProximity to Hardware
Low-Level LanguageMachine-Dependent LanguageClosely tied to a specific computer’s hardware; uses binary or symbolic instructionsVery Close
Middle-Level LanguageIntermediate-Level LanguageCombines features of both low-level and high-level languages; allows hardware control and readable codeModerate
High-Level LanguageMachine-Independent LanguageUses English-like syntax; hides hardware details; easy to read, write, and debugFar from Hardware

Low-Level Languages

Low-level languages are the closest to machine hardware. They require detailed knowledge of the computer’s architecture and are very difficult for humans to read and write.

LanguageDescriptionRepresentationKey Feature
Machine Language (1GL)The only language a computer’s CPU understands directly; consists entirely of binary digits (0 and 1)Binary: 10110001 01100001Fastest execution; no translation needed; completely machine-dependent
Assembly Language (2GL)Uses short symbolic codes (mnemonics) to represent machine instructions; one step above machine languageMOV AX, 01H / ADD AX, BXSlightly readable; requires an Assembler to convert to machine code; still hardware-specific

Middle-Level Languages

Middle-level languages give the programmer access to low-level hardware features while also supporting high-level programming constructs. The most important example is C.

FeatureDescription
Hardware AccessCan directly manipulate memory, pointers, and hardware registers
PortabilityMore portable than assembly language; can be compiled for different hardware
Best ExampleC Language – used to write operating systems, device drivers, and embedded systems
Other ExamplesC++, Rust
Translator UsedCompiler

High-Level Languages

High-level languages use syntax close to human language (usually English). They are portable across different machines and are much easier to write, read, and debug compared to low-level languages. They require a compiler or interpreter to translate to machine code.

FeatureDescription
Syntax StyleEnglish-like; uses words like if, while, print, return
PortabilityWrite once, run on many different computers with minimal changes
Ease of UseEasier to learn, write, debug, and maintain than low-level languages
SpeedSlower than machine or assembly language after translation
ExamplesPython, Java, C#, JavaScript, Ruby, PHP, Swift, Kotlin, Fortran, COBOL, BASIC
Translator UsedCompiler or Interpreter depending on the language

Generations of Programming Languages (1GL to 5GL)

Programming languages are also classified by generation, which reflects their distance from machine code and their level of abstraction. The generation classification is extremely important for SSC and RRB exams.

GenerationNameKey CharacteristicExamplesTranslator
1GLFirst Generation (Machine Language)Pure binary code; directly executable by CPU; no translation neededBinary code – 0s and 1s onlyNone (CPU executes directly)
2GLSecond Generation (Assembly Language)Uses mnemonics (MOV, ADD, SUB) instead of binary; human-readable but still hardware-specificx86 Assembly, ARM AssemblyAssembler
3GLThird Generation (High-Level Languages)English-like syntax; machine-independent; structured programming introducedC, C++, Java, Python, FORTRAN, COBOL, BASIC, PascalCompiler or Interpreter
4GLFourth Generation LanguagesEven closer to human language; focuses on what to do rather than how; used for databases and reportsSQL, MATLAB, R, SAS, Oracle Forms, Visual BasicInterpreter or special runtime
5GLFifth Generation LanguagesBased on artificial intelligence and logic; programmer defines the problem, not the steps to solve itProlog, LISP, Mercury, OPS5AI Inference Engine

Exam tip: 3GL is the most commonly used generation today. SQL is the classic 4GL example. Prolog is the most cited 5GL example.

Translators – Compiler, Interpreter, and Assembler

A translator converts source code written in a programming language into machine code that the CPU can execute. There are three types of translators, and questions comparing them appear very frequently in SSC Computer Awareness.

FeatureCompilerInterpreterAssembler
What it translatesHigh-level language source codeHigh-level language source codeAssembly language (2GL) source code
Translation methodTranslates the entire program at once before executionTranslates and executes one line at a timeConverts mnemonics to machine code statement by statement
Output producedSeparate object code file (.exe or .obj)No separate output file; executes directlyObject code (machine language file)
Execution speedFast – object code runs directly after compilationSlower – translation happens during runtimeFast – one-to-one mapping of mnemonics to binary
Error detectionAll errors reported after full translationStops at the first error found, line by lineErrors found during assembly process
Memory useMore memory needed to store object codeLess memory; no object file storedModerate
Re-translation neededNot needed; reuse the compiled object codeRequired every time the program runsRequired every time the source changes
Examples of languagesC, C++, Java (to bytecode), Go, RustPython, Ruby, JavaScript, PHP, BASICx86 Assembly, ARM Assembly

Special Case – Java and the JVM

Java is a special case that uses both a compiler and an interpreter. The Java compiler (javac) first compiles source code into Bytecode. The Java Virtual Machine (JVM) then interprets that bytecode at runtime. This is why Java is called platform-independent – bytecode runs on any machine that has a JVM installed. The principle is called WORA: Write Once, Run Anywhere.

Programming Paradigms

A programming paradigm is a style or approach to programming. Different paradigms represent different ways of thinking about and structuring a program. This topic is increasingly tested in higher-level SSC exams.

ParadigmCore IdeaKey FeaturesExamples
Procedural ProgrammingA program is a sequence of instructions executed step by stepUses functions/procedures; top-down design; structured control flowC, Pascal, FORTRAN, COBOL
Object-Oriented Programming (OOP)A program is organized around objects that combine data and behaviorClasses, Objects, Encapsulation, Inheritance, Polymorphism, AbstractionJava, C++, Python, C#, Ruby
Functional ProgrammingA program is a set of mathematical functions; avoids changing statePure functions, immutability, first-class functions, recursionHaskell, Erlang, Lisp, Scala, F#
Logic ProgrammingA program defines facts and rules; the system derives answersBased on formal logic; declarative styleProlog, Datalog, Mercury
Event-Driven ProgrammingProgram flow is determined by events such as user actions or messagesUsed heavily in GUIs and web applicationsJavaScript, Visual Basic, Swift (UI)
Declarative ProgrammingProgrammer describes what the result should be, not how to compute itNo explicit control flow; SQL is the prime exampleSQL, HTML, CSS, XSLT

Object-Oriented Programming – Four Pillars

OOP (Object-Oriented Programming) is the dominant programming paradigm today and the most tested paradigm in SSC Computer Awareness. Its four core principles are essential to know.

PillarDefinitionReal-World Analogy
EncapsulationBundling data (attributes) and the functions that operate on that data (methods) together inside a single unit called a class; hiding internal implementation details from the outside worldA capsule pill contains medicine inside – you use it without knowing the exact chemical formula
InheritanceA child class automatically acquires the properties and methods of a parent class, enabling code reuse and a hierarchical class structureA child inherits traits (eye color, height) from their parents
PolymorphismThe ability of different objects to respond to the same method call in different, object-specific waysThe word ‘run’ means different things for a person, a program, and a car engine
AbstractionHiding complex internal implementation details and exposing only the essential features or interface to the userA car driver uses the steering wheel and pedals without knowing how the engine works internally

Popular Programming Languages – Quick Reference

LanguageCreated ByYearGenerationPrimary Use
FORTRANIBM (John Backus)19573GLScientific and mathematical computing; first high-level language
COBOLGrace Hopper (US Navy)19593GLBusiness data processing, banking, government systems
LISPJohn McCarthy (MIT)19583GL / 5GLArtificial intelligence, symbolic computation
BASICJohn Kemeny and Thomas Kurtz19643GLBeginners’ general-purpose programming; interactive use
PascalNiklaus Wirth19703GLTeaching programming; structured programming principles
CDennis Ritchie (Bell Labs)19722.5GL / 3GLSystem programming, operating systems (Unix/Linux), embedded systems
C++Bjarne Stroustrup (Bell Labs)19833GLSystem software, game development, OOP extension of C
PythonGuido van Rossum19913GLWeb development, data science, AI/ML, automation, education
JavaJames Gosling (Sun Microsystems)19953GLEnterprise apps, Android development, web back-end
JavaScriptBrendan Eich (Netscape)19953GLWeb front-end interactivity; also used on server (Node.js)
PHPRasmus Lerdorf19943GLServer-side web development (WordPress, Facebook early stack)
RubyYukihiro Matsumoto19953GLWeb development (Ruby on Rails), rapid prototyping
SwiftApple Inc.20143GLiOS and macOS application development
KotlinJetBrains20113GLAndroid development (official language since 2017)
RRoss Ihaka and Robert Gentleman19934GLStatistical computing, data analysis, data science
SQLIBM (Chamberlin and Boyce)19744GLDatabase query and management – the most used 4GL
PrologAlain Colmerauer19725GLArtificial intelligence, logic programming, expert systems

Important Programming Language Facts for SSC Exams

FactDetails
First High-Level LanguageFORTRAN (1957) – developed by IBM’s John Backus team
First Programming Language (ever)Ada Lovelace wrote the first algorithm for Charles Babbage’s Analytical Engine (1840s) – she is considered the first programmer
Language named after Ada LovelaceAda – a programming language developed by the US Department of Defense in 1983
Grace Hopper’s contributionCreated COBOL; invented the first compiler (A-0 System, 1952); coined the term ‘debugging’ (found a real moth in a relay)
First compiler everA-0 System (1952) – created by Grace Hopper
WORA principleWrite Once, Run Anywhere – Java’s platform independence via JVM and bytecode
Most used language todayJavaScript (web front-end); Python (data science, AI); SQL (databases)
Android’s official languageKotlin (since 2017, announced by Google at Google I/O)
iOS/macOS development languageSwift (created by Apple in 2014; replaced Objective-C)
Language used to write UNIX/LinuxC language – written by Dennis Ritchie at Bell Labs
First OOP languageSimula (1967) – created by Ole-Johan Dahl and Kristen Nygaard in Norway
Python named afterMonty Python’s Flying Circus (British comedy TV show) – not the snake

Procedural Programming vs Object-Oriented Programming

ParameterProcedural ProgrammingObject-Oriented Programming
Basic UnitFunctions / ProceduresObjects (instances of classes)
Data and FunctionsSeparate – data passed to functions as parametersCombined inside classes (encapsulation)
ApproachTop-down designBottom-up design
Code ReusabilityLimited – functions can be reused but not extended easilyHigh – inheritance allows extending existing classes
Data SecurityLow – global data accessible from anywhereHigh – data hidden via encapsulation and access modifiers
Real-World ModelingPoor – hard to map real entities to codeExcellent – objects mirror real-world entities naturally
ExamplesC, Pascal, FORTRAN, COBOLJava, C++, Python, C#, Ruby

Source Code, Object Code, and the Translation Process

StageWhat It IsExample
Source CodeThe original human-readable program written by the developerprint(‘Hello’) written in Python
Compilation / InterpretationTranslator converts source code to machine-readable formPython interpreter reads each line and executes it
Object Code / BytecodeThe translated intermediate or final machine-readable codeJava .class file (bytecode); C .exe file (native machine code)
ExecutionCPU or virtual machine (JVM) runs the final machine codeThe program runs and produces output
LinkerCombines object code files and libraries into a final executable.exe or binary file ready to run
LoaderLoads the final executable into memory so the CPU can run itOperating system loads the .exe when you double-click it

Programming Languages by Application Area

Application AreaBest Languages UsedWhy
Web Front-End DevelopmentHTML, CSS, JavaScript, TypeScriptRun natively in browsers; handle UI and user interaction
Web Back-End DevelopmentPython, PHP, Java, Ruby, Node.js (JavaScript), GoServer-side logic, database handling, APIs
Mobile App DevelopmentSwift (iOS), Kotlin (Android), Dart (Flutter)Platform-native or cross-platform mobile apps
Data Science and AI/MLPython, R, JuliaRich ecosystem of libraries (NumPy, Pandas, TensorFlow, scikit-learn)
System and OS ProgrammingC, C++, RustDirect hardware access, memory management, high performance
Database and Data ManagementSQL, PL/SQL, T-SQLStructured query and manipulation of relational databases
Game DevelopmentC++, C#, Lua, PythonHigh performance graphics; Unity uses C#; Unreal uses C++
Embedded and IoT SystemsC, C++, MicroPython, RustLow memory, direct hardware control on microcontrollers
Scientific ComputingFORTRAN, MATLAB, Python, RNumerical methods, simulations, mathematical modeling
Artificial Intelligence (Logic)Prolog, LISPSymbolic reasoning, expert systems, logic-based inference

Scripting Languages vs Programming Languages

ParameterScripting LanguageProgramming Language
DefinitionA type of programming language designed to automate tasks in an existing environmentA general-purpose language for building standalone software applications
ExecutionInterpreted at runtime – usually line by lineUsually compiled into machine code before execution
ComplexitySimpler to write; less boilerplate codeCan be more complex; more control over system resources
SpeedSlower due to interpretationFaster due to compilation
ExamplesPython, JavaScript, PHP, Bash, Ruby, PerlC, C++, Java, Go, Rust
Common UseAutomating web tasks, file management, rapid prototypingOperating systems, applications, games, databases

Programming Language Abbreviations – Quick Reference

AbbreviationFull Form
OOPObject-Oriented Programming
IDEIntegrated Development Environment
JVMJava Virtual Machine
JDKJava Development Kit
JREJava Runtime Environment
WORAWrite Once, Run Anywhere
1GLFirst Generation Language (Machine Language)
2GLSecond Generation Language (Assembly Language)
3GLThird Generation Language (High-Level Language)
4GLFourth Generation Language
5GLFifth Generation Language
SQLStructured Query Language
HTMLHyperText Markup Language
CSSCascading Style Sheets
PHPHypertext Preprocessor (originally Personal Home Page)
APIApplication Programming Interface
SDKSoftware Development Kit
GCCGNU Compiler Collection
LISPLISt Processing
COBOLCommon Business-Oriented Language
FORTRANFormula Translation
BASICBeginner’s All-purpose Symbolic Instruction Code
PascalNamed after mathematician Blaise Pascal
AdaNamed after Ada Lovelace – first programmer
PrologProgramming in Logic
SSC Computer Class Programming Language PPT Slides (LEC #23)
SSC Computer Class Programming Language PPT Slides (LEC #23)

Key Points to Remember Before Your Exam

  • A programming language is a formal set of instructions used to communicate with a computer and create programs.
  • Languages are classified by level: Low-Level (Machine + Assembly), Middle-Level (C), and High-Level (Python, Java).
  • The five generations of programming languages are 1GL (machine code), 2GL (assembly), 3GL (high-level), 4GL (database/report), and 5GL (AI/logic).
  • FORTRAN (1957) was the first high-level programming language, developed by IBM.
  • Ada Lovelace (1840s) is considered the first programmer; the language Ada is named after her.
  • Grace Hopper created COBOL and invented the first compiler (A-0 System, 1952); she coined the term ‘debugging.’
  • A Compiler translates the entire source code at once and produces an object code file; execution is fast.
  • An Interpreter translates and executes source code line by line; stops at the first error; no output file saved.
  • An Assembler converts Assembly Language (2GL) into machine code.
  • Java uses both a compiler (produces bytecode) and an interpreter (JVM runs bytecode) – this gives Java its WORA property.
  • The four pillars of OOP are Encapsulation, Inheritance, Polymorphism, and Abstraction.
  • C was written by Dennis Ritchie at Bell Labs (1972) and was used to write the UNIX operating system.
  • Simula (1967) is considered the first Object-Oriented Programming language.
  • Python was created by Guido van Rossum (1991) and named after Monty Python’s Flying Circus.
  • SQL is the standard 4GL example – used to query and manage relational databases.
  • Prolog is the most cited 5GL example – used in AI and logic-based reasoning.
  • Kotlin became the official language for Android development in 2017 (announced by Google).
  • Swift was created by Apple in 2014 to replace Objective-C for iOS and macOS development.
  • JavaScript was created by Brendan Eich at Netscape in 1995 and is the core language of web front-end development.
  • COBOL stands for Common Business-Oriented Language; FORTRAN stands for Formula Translation; BASIC stands for Beginner’s All-purpose Symbolic Instruction Code.

READ ALSO: SSC Computer Class Internet of Things PPT Slides (LEC #22)

FAQ:

What is the difference between a compiler and an interpreter?

A compiler translates the entire source code of a program into machine code (object code) in one go before the program runs. Once compiled, the program runs directly from the object code, making execution fast. An interpreter, on the other hand, translates and executes the source code one line at a time. It does not produce a separate output file and stops as soon as it encounters an error. Compilers are used by C, C++, Go, and Rust. Interpreters are used by Python, Ruby, JavaScript, and PHP. Java is a special case – it uses a compiler to produce bytecode and the JVM (Java Virtual Machine) to interpret that bytecode at runtime.

What are the five generations of programming languages?

The five generations are: 1GL – Machine Language (pure binary 0s and 1s, executed directly by CPU); 2GL – Assembly Language (mnemonics like MOV, ADD, SUB, translated by an Assembler); 3GL – High-Level Languages (C, Java, Python, COBOL, FORTRAN, translated by Compiler/Interpreter); 4GL – Fourth Generation Languages (SQL, MATLAB, R, focused on database queries and report generation); 5GL – Fifth Generation Languages (Prolog, LISP, based on artificial intelligence and logic programming). The key exam distinction is that 3GL is the most widely used today, and SQL is the most common 4GL example.

Who is considered the first programmer and what is their connection to programming languages?

Ada Lovelace (1815–1852), the daughter of poet Lord Byron, is considered the world’s first programmer. She wrote the first algorithm intended to be processed by a machine – specifically, Charles Babbage’s proposed Analytical Engine – in the 1840s. She is the reason the programming language Ada (developed by the US Department of Defense in 1983) is named after her. This is a common exam question: who is the first programmer, what is Ada, and who created COBOL (Grace Hopper).

What are the four pillars of Object-Oriented Programming?

The four pillars of OOP are: (1) Encapsulation – bundling data and methods together inside a class and hiding internal details from outside access. (2) Inheritance – a child class acquires the properties and behaviors of a parent class, enabling code reuse. (3) Polymorphism – the same method name behaves differently depending on the object that calls it (e.g., a draw() method works differently for a Circle and a Rectangle). (4) Abstraction – hiding complex implementation details and exposing only what the user needs. OOP languages include Java, C++, Python, C#, and Ruby.

What does WORA mean and which language uses it?

WORA stands for Write Once, Run Anywhere. It is the core principle of Java. Java source code is compiled into an intermediate form called bytecode by the Java compiler (javac). This bytecode is not machine-specific – it runs on any machine that has a Java Virtual Machine (JVM) installed. The JVM interprets the bytecode and converts it to native machine code at runtime. This means the same Java .class file can run on Windows, macOS, Linux, or any other platform with a JVM, without modification.

What is the difference between low-level and high-level programming languages?

Low-level languages are close to machine hardware. They include Machine Language (1GL), which uses only binary code (0s and 1s), and Assembly Language (2GL), which uses symbolic mnemonics. They are fast and efficient but difficult to write, read, and debug. They are hardware-specific – a program written for one CPU architecture cannot run on a different one without rewriting. High-level languages use English-like syntax that is easy to read and write. They are portable – the same code can run on different machines with little or no modification. Python, Java, C, and FORTRAN are high-level languages. They require a compiler or interpreter for translation.

What was Grace Hopper’s contribution to programming?

Rear Admiral Grace Hopper made several landmark contributions: (1) She created COBOL (Common Business-Oriented Language, 1959), which revolutionized business computing and is still used in banking and government systems today. (2) She invented the first compiler – the A-0 System in 1952 – proving that programs could be written in human-readable code and automatically translated to machine code. (3) She is often credited with coining the term ‘debugging’ after her team found an actual moth trapped in a relay of the Harvard Mark II computer in 1947, causing a malfunction. She taped the moth to the logbook with the note ‘First actual case of bug being found.’

What is the difference between procedural and object-oriented programming?

Procedural programming organizes code as a sequence of instructions grouped into functions or procedures. Data and functions are separate. It follows a top-down approach. Examples include C, Pascal, and FORTRAN. Object-Oriented Programming (OOP) organizes code around objects, where each object combines data (attributes) and behavior (methods) inside a class. OOP follows a bottom-up design and supports inheritance, polymorphism, encapsulation, and abstraction. Examples include Java, C++, Python, and C#. OOP is better for modeling real-world entities and for large, complex software projects.

Practice MCQs – Programming Language

1. Which was the first high-level programming language ever developed?

A) COBOL

B) BASIC

C) FORTRAN

D) Pascal

Answer: C – FORTRAN (Formula Translation), developed by IBM in 1957.

2. Who is known as the world’s first programmer?

A) Alan Turing

B) Grace Hopper

C) Ada Lovelace

D) Dennis Ritchie

Answer: C – Ada Lovelace wrote the first algorithm for Babbage’s Analytical Engine in the 1840s.

3. Who created the COBOL programming language?

A) Bjarne Stroustrup

B) Grace Hopper

C) Dennis Ritchie

D) James Gosling

Answer: B – Grace Hopper, who also invented the first compiler.

4. What does WORA stand for in the context of Java?

A) Write Once, Read Anywhere

B) Write Once, Run Anywhere

C) Work Once, Run Anywhere

D) Write Output, Run Always

Answer: B – Write Once, Run Anywhere – Java’s platform independence through the JVM.

5. Which type of translator converts Assembly Language into machine code?

A) Compiler

B) Interpreter

C) Assembler

D) Linker

Answer: C – An Assembler converts Assembly Language (2GL) mnemonics into machine code.

6. A compiler differs from an interpreter in that a compiler:

A) Translates code line by line

B) Translates the entire program at once before execution

C) Only works with low-level languages

D) Cannot detect syntax errors

Answer: B – A compiler translates the entire program into object code before execution begins.

7. Which of the following is the correct order of programming language generations from lowest to highest?

A) Assembly → Machine → 3GL → 4GL → 5GL

B) Machine → Assembly → High-Level → 4GL → 5GL

C) 4GL → 3GL → Machine → Assembly → 5GL

D) High-Level → Machine → Assembly → 4GL → 5GL

Answer: B – 1GL (Machine) → 2GL (Assembly) → 3GL (High-Level) → 4GL → 5GL.

8. Which programming language was used to write the UNIX operating system?

A) Assembly

B) Python

C) Java

D) C

Answer: D – C, created by Dennis Ritchie at Bell Labs in 1972.

9. The four pillars of Object-Oriented Programming are:

A) Compilation, Linking, Loading, Execution

B) Encapsulation, Inheritance, Polymorphism, Abstraction

C) Class, Object, Method, Variable

D) Syntax, Semantics, Pragmatics, Logic

Answer: B – Encapsulation, Inheritance, Polymorphism, and Abstraction are the four OOP pillars.

10. SQL is an example of which generation of programming language?

A) 2GL

B) 3GL

C) 4GL

D) 5GL

Answer: C – SQL (Structured Query Language) is the most common example of a 4GL.

11. Which language is considered the first Object-Oriented Programming language?

A) C++

B) Java

C) Simula

D) Smalltalk

Answer: C – Simula (1967), developed by Ole-Johan Dahl and Kristen Nygaard in Norway.

12. Kotlin became the official language for Android development in which year?

A) 2014

B) 2015

C) 2017

D) 2019

Answer: C – Google officially adopted Kotlin as Android’s first-class language at Google I/O 2017.

13. Which programming language is named after a television comedy show?

A) Ruby

B) Python

C) Swift

D) Go

Answer: B – Python was named after Monty Python’s Flying Circus by its creator Guido van Rossum.

14. Prolog is an example of which type/generation of programming language?

A) 3GL – Procedural

B) 4GL – Database

C) 5GL – Logic/AI

D) 2GL – Assembly

Answer: C – Prolog (Programming in Logic) is a 5GL language used in AI and logic programming.

15. FORTRAN stands for:

A) Formal Translation

B) Formula Transition

C) Formula Translation

D) Formatted Transfer

Answer: C – FORTRAN stands for Formula Translation, developed by IBM in 1957.

Leave a Comment