NEW
Font size
WorksheetsPPL 223 (QUIZ 1) Introduction to Programming Languages
Total questions: 20
Worksheet time: 10mins
What is a programming language?
A set of rules for writing computer code
A formal language comprising a set of instructions
A system for managing databases
A tool for designing user interfaces
Which of the following is NOT a programming language paradigm?
Procedural
Object-Oriented
Structural
Functional
Who developed the Java programming language?
Microsoft
Sun Microsystems
Apple
IBM
What does "platform-independent" mean in the context of Java?
Java can run on any operating system without modification
Java requires a specific platform to run
Java is only for mobile applications
Java is dependent on the web platform
Which programming language is known for its strong type system and immutability?
C
Java
Haskell
Prolog
What is the primary use of the Prolog programming language?
Web development
System programming
Artificial intelligence and computational linguistics
Mobile app development
Which of the following programming languages is procedural?
Java
C
Haskell
Prolog
In what decade was the programming language Fortran developed?
1940s
1950s
1960s
1970s
What does "object-oriented" mean in the context of programming languages?
Focus on procedures to perform tasks
Use of objects to represent data and methods
Emphasis on mathematical functions
Use of formal logic to express programs
Which programming language is used primarily for Android app development?
C
Java
Haskell
Prolog
What is the main characteristic of procedural programming languages?
Use of objects to represent data
Focus on procedures or routines to perform tasks
Emphasis on immutability
Use of logical assertions
What does "write once, run anywhere" refer to in Java?
Java programs can be written on any device
Java programs can run on any device with a JVM
Java programs need to be rewritten for each platform
Java programs are only for web applications
Which programming language category does C belong to?
Procedural
Object-Oriented
Functional
Logic
What is the primary advantage of using object-oriented programming languages?
Faster execution
Better memory management
Improved code reusability and maintainability
Easier debugging
Which of the following is NOT a key feature of Java?
Platform-Independent
Object-Oriented
Manual Memory Management
Automatic Garbage Collection
Which language is known for being used in developing operating systems like Linux?
C
Java
Haskell
Prolog
What is the role of a programming language in software development?
It translates human intentions into machine-readable instructions
It manages databases and storage
It designs hardware components
It serves as a graphical interface for users
Which programming language emphasizes the use of mathematical functions and immutability?
Java
Prolog
Haskell
C
Which programming language paradigm focuses on the use of formal logic to express programs?
Procedural
Object-Oriented
Functional
Logic
What year was the programming language Java introduced to the public?
1985
1990
1995
2000
