Browse all practice questions for the 241 Computer Science Certification Practice Exam. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

241 Computer Science Certification Practice Exam course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • What is an AVL tree and why is it balanced?
  • Which family of high-level programming languages emphasizes ease of use?
  • What term describes writing compound words with each word starting with a capital letter?
  • Which term is a memory location that can be changed during program execution?
  • Which term describes a group of code within a program that contains declarations and statements?
  • In operating systems, what does paging accomplish?
  • Which description matches a language using words and commands easy for humans to understand and organize, but which must be translated into a low-level language?
  • Which term describes an error that might occur during the execution of a program?
  • What is a B-tree and why is it used in databases?
  • Which testing level validates end-to-end requirements?
  • In OOP, which class term refers to a class that inherits characteristics from a parent class?
  • Which term is easier to understand by wisely choosing variable names and following set practices?
  • Which term denotes a decimal value that uses floating-point representation?
  • What term describes software that manages hardware resources and provides services for programs?
  • What is a transaction isolation level and why is it important?
  • In object-oriented programming, what encapsulates data and the operations that manipulate that data?
  • What is the practice of testing each individual component in isolation to ensure it functions correctly before integration?
  • Which programming paradigm uses a pure functional approach as seen in Scheme, Haskell, Lisp, Racket, and F#?
  • Which software development methodology emphasizes incremental development with repeated design, implementation, testing cycles and short iterations?
  • Which tool translates assembly language into object code?
  • What is the universally portable software file compiled from source code and then translated into machine language by software interpreter?
  • Which term is defined as an error that causes a program to produce incorrect results?
  • Which statement is true about a container tool?
  • Which phase performs lexical analysis in compilation?
  • Name and briefly describe two graph traversal algorithms and their typical use cases.
  • A mistake in a program that causes it to produce wrong results is called what?
  • Which term is used for the concept of a numeric value with fractions represented in most languages?
  • What classification identifies one of the various types of data, such as real, integer, or Boolean, that determines the possible values for that type?
  • Which factors affect the worst-case performance of a hash table?
  • Which term describes a value or memory location that does not change during program execution?
  • Which GUI-based OS family developed by Apple for Macintosh with OS X 10.11 El Capitan as the latest?
  • What is the time complexity of breadth-first search (BFS) from a single source in a graph with V vertices and E edges?
  • What is polymorphism in object-oriented programming?
  • Which statement correctly describes arrays and linked lists in terms of memory layout and performance?
  • What is the visual organizer used to indicate the flow of a program, including procedure blocks, decision diamonds and arrows?
  • Which data type holds a floating point value such as 1.5 or 3.14?
  • Which term describes the translation process that executes a program one line at a time rather than compiling the entire program?
  • Which data type is designed to contain floating-point numbers?
  • What is the TCP three-way handshake and why is it used?
  • What term describes a memory location whose value cannot be changed after initialization?
  • How does a digital signature provide authentication and integrity?
  • Which term specifies properties of an identifier used for functions, procedures, methods, variables, constants, or classes?
  • What is the difference between virtualization and containerization, and name a popular container tool?
  • Which term refers to the documented interface for a software component that specifies how other components interact with it?
  • Which term best describes a class that inherits characteristics from another class?
  • Which term refers to the source code, or set of instructions found in a computer program?
  • Which procedural programming language was devised and published by Niklaus Wirth?
  • FORTRAN stands for Formula Translation.
  • Which is a standard NP-complete problem?
  • What is lexical analysis in compiler design?
  • Which operator is used to assign the result of an expression to a variable?
  • What is the key difference between TCP and UDP?
  • Which statement correctly describes the purpose of the first three normal forms (1NF, 2NF, 3NF) in relational database normalization?
  • A race condition occurs when a program runs in a way that depends on what?
  • In distributed systems, what does horizontal scaling mean?
  • In a linked list, which feature enables O(1) insertion or deletion when the position is known?
  • Names used in programming that help describe the general purpose of a function associated with that term?
  • Which term refers to the hardware-software interface that defines the set of machine-level instructions and their encoding?
  • Which term describes a language that is close to hardware and often used when performance matters?
  • Which mechanism provides runtime polymorphism in Java/C++?
  • Which term describes intelligence exhibited by machines or software?
  • Which statement best defines deadlock in a system with multiple processes?
  • What does the acronym FORTRAN stand for?
  • Which term refers to numeric values without fractional parts?
  • What data type stores a single character such as 'A' or '#'?
  • Which description matches the language directly understood and executed by a computer, consisting of pure 0s and 1s?
  • What are the stages of development for a software development project (analysis, design, development, testing and maintenance)?
  • Which term describes a device or system that can be viewed in terms of inputs and outputs without knowledge of its internal workings?
  • What is the polymorphic feature where methods inherited from a parent class are redefined to fit the current class?
  • In a binary search tree, what is the worst-case height if the tree becomes degenerate?
  • Which term refers to a software issue that causes incorrect results rather than just a syntax problem?
  • Which term is described as part of documentation that lists the end result expected from a method or function?
  • What is a semaphore and how is it used for process synchronization?
  • Which of the following describes a storage location whose value can be modified during runtime?
  • Distinguish between compile-time and run-time errors with examples.
  • Which of the following is not a Unix-like operating system?
  • Which term describes a software program that remains functional even when faced with invalid input or missing resources?
  • Which statement correctly describes a left join in SQL?
  • Which paradigm models software as a collection of interacting objects?
  • In OOP, which class is a specialized version of another class?
  • Which term describes a data type that holds exactly one character.
  • Which language, developed as an extension of the C programming language, added object-oriented features?
  • Which concept is described by combining related data items and methods into a single class definition, including instance variables, constructors, and accessor/modifier methods?
  • Which programming entity encapsulates data and related methods?
  • Which term describes an error in programming that is thrown during runtime?
  • What are non-executable lines embedded in code that describe sections of code?
  • What term describes a memory location in a program that can change during execution?
  • Which statement best defines a programming language as a formal constructed language designed to communicate instructions to a computer?
  • Which term describes the data type that stores integer values?
  • What is the process of breaking down a project into smaller pieces until each piece performs one simple task?
  • Describe the purpose of a database index and two common index types.
  • Which index type is generally better for high-cardinality columns with range queries; Bitmap index is better for low-cardinality columns.
  • What term refers to the rules in a scripting language that govern punctuation, spelling, and grammar, such as ending a statement with a semicolon?
  • What term denotes a self-contained section of code that groups related declarations and statements?
  • Which testing practice focuses on evaluating each individual component in isolation before it is integrated into the larger system?
  • Which OS was the first widely-installed personal computer operating system in 1981-1995?
  • Which broad concept categorizes data into types like real numbers, integers, and Booleans?
  • Which model is organized around objects rather than actions and data rather than logic?
  • Which term refers to packaging data and methods into a single unit within object-oriented programming?
  • Which programming paradigm involves describing step-by-step instructions the computer must execute to achieve a goal?
  • Why are multiple levels of cache used (L1, L2, L3) in a memory subsystem?
  • Which language is an event-driven programming language and integrated development environment from Microsoft?
  • How can a parent object reference any of its child objects, or descendants several levels down?
  • Which statement accurately describes how caches use locality principles in memory systems?
  • SQL injection is a security vulnerability in which attackers inject malicious SQL statements; which practice mitigates it?
  • In programming, the act of creating an instance from a class is called what?
  • Which form of code is designed to be portable across platforms and executed by a virtual machine rather than directly by the processor?
  • Which general-purpose language was developed by Dennis Ritchie in the late 1960s and early 1970s and became one of the most widely used programming languages of all time?
  • Which term denotes true or false, named after George Boole?
  • Which statement correctly contrasts top-down parsing with bottom-up parsing?
  • In paging, what is the role of the page table?
  • What describes a program that does not crash under bad input or missing files?
  • What is a software design pattern?
  • What is the notation technique for describing the syntax of languages used in computing, often used with context-free grammars?
  • Which acronym refers to a processor architecture with a large set of instructions and emphasis on backward compatibility?
  • Which of the following terms refers to a flaw in a program that can cause it to behave unexpectedly?
  • Which term is the opposite of constant, describing a memory location that can change value during execution?
  • Which term describes the end result expected from a method or function in the program?
  • Which term refers to the effort a programmer should take to make source code easy to read and easy to understand?
  • What is a monolith vs microservices architecture, and one advantage of each?
  • Which term is defined as easier to understand by wisely choosing variable names and following set practices?
  • In object-oriented programming, which practice is known as encapsulation and involves hiding internal details of an object?
  • Which term refers to an agreed style for indentation, capitalization, and meaningful identifiers to improve readability?
  • What is a collection of predefined methods that can be used to build up a program?
  • Which term refers to a formal language designed to communicate instructions to a computer?
  • Which language, created by Niklaus Wirth, is often used as an introductory programming language?
  • Which symbol in flowcharts indicates a decision made in a program with true/false outcomes?
  • Which term is devised to simplify the logic of detecting invalid data (eg try, catch blocks)?
  • Which language is designed to run on the Java Virtual Machine and is widely used for cross-platform applications?
  • What are the ACID properties in databases, and why are they important for transactions?
  • In object-oriented programming, which term describes the 'has-a' relationship?
  • Which list correctly names the OSI model layers from bottom to top?
  • Which term describes something that does not change during program execution?
  • Which design approach involves breaking a project into smaller pieces so that each piece performs a single task?
  • Explain the concept of memoization and where it is typically used.
  • Which term describes protecting against bad data entering a software process and ensuring data are in proper form?
  • Which design methodology uses existing programming libraries and APIs to design a system or application?
  • Which language is described as concurrent, class-based, object-oriented, designed to run on any platform through the Java Virtual Machine?
  • What does the acronym COBOL stand for?
  • Which term is an informal high-level description of an algorithm?
  • What defines a set of rules for encoding documents in a format that is both human-readable and machine-readable?
  • In programming, which construct is used to capture and handle runtime errors during execution?
  • Which language is an extension of C that added object-oriented features, designed by Bjarne Stroustrup?
  • What term is used for the blueprint that defines the data and behavior of objects in object-oriented programming?
  • Why is the Turing machine foundational in computability theory?
  • Which statement is true about the difference between user-level and kernel-level threads, and the benefits of multithreading?
  • Which term is an informal high-level description of the operating principle of a computer program or algorithm?
  • What does CISC stand for in microprocessor architecture?
  • Which term is sometimes referred to as a logic error?
  • Which architecture uses a small set of simple instructions?
  • Which isolation level offers the highest degree of isolation, preventing dirty, non-repeatable, and phantom reads?
  • Which term describes a real number with a whole part and a fractional part, such as 3.14?
  • Which general modeling language is commonly used to visually represent the design of a software system?
  • In OOP, this is the process of bringing into existence an object defined by a class?
  • In programming, which term describes a memory location that can hold a value and be modified during runtime?
  • Which naming convention uses capitalization to start each word within a compound identifier, aiding readability?
  • Which high-level language was designed to be easy to use and widely used for teaching programming concepts?
  • What is the polymorphic feature where constructors and methods are named the same but operate on different input parameters?
  • Which of the following is a Unix-like operating system with a GUI developed for Macintosh computers, known for its roots in Unix?
  • What is the incremental process of designing an application or procedure which starts by looking at the overall picture of the requirements, devising an initial solution/architecture, inspecting the solution or patterns, and iterating until the solution meets the objects or performance, clarity and quality?
  • In relational databases, what is the difference between a primary key and a foreign key?
  • What does ISA stand for in computer architecture?
  • Which OOP concept allows a class to be defined based on previously defined classes, inheriting characteristics and expanding on them?
  • Which markup language is designed to be both human-readable and machine-readable for encoding documents?
  • Which statement best describes a hash table's lookup times and the factors affecting the worst case?
  • How does a counting semaphore differ from a binary semaphore?
  • In a binary search tree, what is the average-case time complexity of search, insert, and delete operations?
  • Which term refers to a memory location that cannot be changed after its value is set?
  • Which language was designed to be readable by humans and is commonly used for business data processing?
  • Which term is described as a risk-driven process model generator for software projects that adopts elements of other process models?
  • Which describes non-executable explanations within code that help learners understand what a section does?
  • Which statement best describes LL(1) parsing vs LR(1) parsing?
  • What does CAP theorem imply in distributed systems?
  • What operator is used to assign a value to a variable or constant?
  • Which term is sometimes called a logic error and refers to faults in software?
  • What is dynamic programming and how does it differ from naive recursion?
  • What describes the ability of a program to decide at runtime which subclass implementation to run?
  • Deadlock prevention strategy example: Which Coffman condition is targeted by prevention?
  • What describes the documented method and parameter interface for a software system component?
  • Which concept focuses on hiding internal data within an object to reduce complexity and increase efficiency?
  • Which term describes the process of building complex data types by combining simpler ones, such as a car composed of a body type and an engine?
  • In flowcharts, which symbol represents a process or operation?
  • Which statement correctly describes static and dynamic data structures?
  • What is the diameter of a graph and how does it relate to BFS complexity from a source?
  • Which language is described as an interpreted, object-oriented, high-level programming language with dynamic semantics?
  • Which design approach focuses on building software by reusing existing libraries and APIs rather than starting from scratch?
  • What is a hash collision in a hash table, and what are two common collision resolution strategies?
  • A row of characters combined together to make a word, sentence, or other text based value?
  • Which statement correctly contrasts deadlock prevention vs avoidance?
  • Which Coffman condition refers to a resource that cannot be preempted and must be released by the holding process?
  • What term refers to a decimal value?
  • Which term describes the part of documentation that lists the expected state before the execution of a method or function for proper execution?
  • Define Big-O for space complexity and give an example of a function with O(n) space.
  • What is Big-O notation used for in algorithm analysis?
  • Which statement about time complexities is true for binary search compared to linear search?
  • What is the symbol used in flowcharts that represents a process or event that occurs within the flow of the program?
  • Which term describes the overall stages including analysis, design, development, testing and maintenance?
  • In a relational model, what constraint does a foreign key enforce?
  • What is the process of combining simpler data types into more complex data types called?
  • Which Windows version was the first Windows (1985) and the family later evolved to Windows 10?
  • Which Unix-like OS kernel released in 1991 under free/open-source distribution?
  • A relational join combines rows from two tables by a related column. What is the difference between an inner join and a left join?
  • What is the general purpose modeling language designed to visualize the design of a system in software engineering?
  • Which term describes the state that must be true before a method begins execution to allow proper operation?
  • Which term describes the error-handling mechanism that uses try and catch blocks?
  • Which ACID property ensures that once a transaction is committed, its changes persist even in the event of a system failure?
  • Which statement best describes the semantic analysis phase of compilation?
  • Which collision resolution technique stores all elements that map to the same index in a separate chain or bucket?
  • Explain the difference between symmetric and asymmetric encryption and provide an example of each.
  • What is the term for a method that has no return type?
  • Which OSI layer is primarily responsible for node-to-node data transfer and error detection, including MAC addressing?
  • Which data type can contain an integer - a whole number, positive or negative?
  • What is the Big-O time complexity of binary search on a sorted array of length n?
  • Which software design technique emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect?
  • Which property is provided by digital signatures?
  • Which paradigm focuses on solving problems by composing pure functions and avoiding shared state?
  • Which statement about NP-complete problems is true?
  • Explain the difference between a stack and a queue and provide a typical use case for each.
  • What computer program translates assembly language to an object file or machine language?
  • Which term refers to hiding internal state and requiring interaction through an object's methods?
  • What is a hash function's avalanche effect and collision resistance?
  • Which term describes protecting against invalid data entering a software process by using mechanisms such as try, catch blocks?
  • Which term refers to a program design methodology that enables the system to be developed in convenient stages?
  • Which family of multitasking, multiuser OS developed in the 1970s?
  • Which relationship describes a class that is a specialization of another class?
  • What is the process of assigning an initial value to a variable or constant called?
  • Which term describes a language easily understood and executed by a computer, like machine language, assembly, or bytecode?
  • Which term refers to a software design approach that isolates functionality into separate modules, each capable of performing a single function?
  • What is another common name for a mistake in a program that causes incorrect results?
  • Which describes mark-and-sweep garbage collection?
  • Which term refers to a computer program that transforms source code written in a programming language into another computer language?
  • Which term is used to describe a fault in a program that leads to incorrect or unexpected behavior, rather than just a syntax error?
  • Which normal form specifically addresses removing partial dependencies of non-key attributes on a candidate key?
  • Which data structure is best suited for LIFO (last in, first out) semantics?
  • Which software development model follows a linear sequence of phases from conception to maintenance?
  • Which index type is generally better for high-cardinality columns with range queries; The alternative:
  • Which term refers to a low-level programming language that uses mnemonic opcodes such as mov, sto, and load to interact directly with a computer's CPU and registers?
  • Which term describes a program design methodology that allows the system developer to define the system software in convenient stages?
  • Which relationship occurs when one object contains another object as a component, such as a car having an engine?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy