Computer Science Programming Concepts

Fundamental programming concepts, algorithms, and problem-solving techniques for GCSE Computer Science

Category
gcse (General Certificate of Secondary Education)
Level
intermediate
Languages
en → en
Cards
53
Markdown
Computer Science Programming Concepts (.md)

Flashcards (53)

#Front (Term / Question)Back (Definition / Answer)ExampleMultiple-Choice Options
1What is the purpose of a data type?A data type defines the kind of data a variable can hold, such as integers, floats, strings, or booleans.
2What is a software framework?A software framework is a platform for developing software applications, providing a foundation and predefined structure for building programs.
3What is an interpreter?An interpreter executes code line by line, translating high-level programming language into machine code at runtime.
4What is a switch statement?A switch statement is a control structure that allows a variable to be tested for equality against a list of values.
5What is a syntax error?A syntax error occurs when the code violates the grammar rules of the programming language, preventing it from compiling or running.
6What is a hash table?A hash table is a data structure that implements an associative array, mapping keys to values for efficient data retrieval.
7What is a search algorithm?A search algorithm is a method for finding an item with specified properties within a collection of items.
8What is a compiler?A compiler is a program that translates source code written in a high-level programming language into machine code.
9What is a queue data structure?A queue is a linear data structure that follows the First In First Out (FIFO) principle.
10What is a graphical user interface (GUI)?A GUI is a visual way of interacting with a computer using items like windows, icons, and buttons.
11What is a software development lifecycle (SDLC)?SDLC is a process for planning, creating, testing, and deploying software applications.
12What is a class in object-oriented programming?A class is a blueprint for creating objects, defining properties and methods that the objects created from the class will have.
13What is a prototype in software development?A prototype is an early sample or model of a product used to test concepts and gather feedback before full-scale development.
14What is an array?An array is a collection of elements, all of the same data type, stored in contiguous memory locations.
15What is recursion in programming?Recursion is a technique where a function calls itself to solve smaller instances of the same problem.
16What is an object in programming?An object is an instance of a class that contains data and methods to manipulate that data.
17What is a bug in programming?A bug is an error or flaw in the code that causes it to produce incorrect or unexpected results.
18What is exception handling?Exception handling is a programming construct designed to handle the occurrence of exceptions, allowing a program to continue running or fail gracefully.
19What is encapsulation in object-oriented programming?Encapsulation is the bundling of data and methods that operate on that data within a single unit or class, restricting access to some components.
20What is a software library?A software library is a collection of precompiled routines that a program can use to perform specific tasks.
21What are the two main types of loops?The two main types of loops are 'for' loops and 'while' loops.
22What is a loop in programming?A loop is a control structure that repeats a block of code multiple times until a specified condition is met.
23What is version control?Version control is a system that records changes to files or sets of files over time, allowing for tracking and reverting to previous versions.
24What is a command-line interface (CLI)?A CLI is a text-based interface used to interact with software and operating systems by typing commands.
25What is Agile methodology?Agile methodology is an iterative approach to software development that emphasizes flexibility, collaboration, and customer feedback.
26What is machine learning?Machine learning is a subset of artificial intelligence that enables systems to learn from data and improve their performance over time without being explicitly programmed.
27What is a bug tracking system?A bug tracking system is a software application that helps developers track reported software bugs and issues.
28What is an algorithm?An algorithm is a step-by-step procedure or formula for solving a problem or performing a task.
29What is debugging?Debugging is the process of identifying, isolating, and fixing bugs in a program.
30What is a sorting algorithm?A sorting algorithm is a method for arranging the elements of a list or array in a specific order.
31What is Big O notation?Big O notation is a mathematical notation used to describe the performance or complexity of an algorithm in terms of time or space.
32What is a software bug?A software bug is an error, flaw, or unintended behavior in a program that causes it to produce incorrect results.
33What is a framework in programming?A framework is a pre-built collection of code that provides a foundation for developing applications.
34What is a variable in programming?A variable is a named storage location in memory that can hold a value and can be changed during program execution.
35What is the purpose of a conditional statement?A conditional statement allows the program to execute different code paths based on whether a condition is true or false.
36What is a build system?A build system automates the process of converting source code into executable code, managing dependencies and compilation.
37What is an API?An API (Application Programming Interface) is a set of rules and protocols for building and interacting with software applications.
38What is a software release?A software release is the distribution of a version of a software product to users, often including new features, fixes, or improvements.
39What is SQL?SQL (Structured Query Language) is a standard programming language used to manage and manipulate relational databases.
40What is the difference between a list and an array?A list can hold elements of different data types and is dynamic in size, while an array is fixed in size and holds elements of the same data type.
41What is inheritance in programming?Inheritance is a mechanism where a new class can inherit properties and methods from an existing class.
42What is a conditional expression?A conditional expression evaluates a condition and returns one of two values based on whether the condition is true or false.
43What is a binary tree?A binary tree is a hierarchical data structure in which each node has at most two children.
44What is multithreading?Multithreading is a programming technique that allows multiple threads to run concurrently within a single program, improving performance.
45What is an integrated development environment (IDE)?An IDE is a software application that provides comprehensive facilities to programmers for software development, including code editor, debugger, and compiler.
46What is a function?A function is a reusable block of code that performs a specific task and can return a value.
47What is the difference between a syntax error and a logic error?A syntax error occurs when the code does not conform to the language's rules, while a logic error occurs when the code runs but produces incorrect results.
48What is a stack data structure?A stack is a linear data structure that follows the Last In First Out (LIFO) principle.
49What is a database?A database is an organized collection of structured information or data, typically stored electronically.
50What is cloud computing?Cloud computing is the delivery of computing services over the internet, including storage, processing, and software.
51What is a user interface (UI)?A user interface is the space where interactions between humans and machines occur, including graphical elements like buttons and menus.
52What is polymorphism in programming?Polymorphism allows methods to do different things based on the object it is acting upon, typically through method overriding or overloading.
53What is a library in programming?A library is a collection of pre-written code that developers can use to optimize tasks and avoid rewriting code.