Data Structure Mock Test Quiz!

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Avani Joshi
A
Avani Joshi
Community Contributor
Quizzes Created: 1 | Total Attempts: 205
Questions: 11 | Attempts: 205

SettingsSettingsSettings
Data Structure Quizzes & Trivia

Questions and Answers
  • 1. 

    Speed of internet connection is measured in?

    • A.

      GHz

    • B.

      Dpi

    • C.

      Ppm

    • D.

      GBps

    Correct Answer
    D. GBps
    Explanation
    The speed of internet connection is measured in GBps, which stands for Gigabytes per second. This unit of measurement represents the amount of data that can be transferred in one second. It is commonly used to quantify the speed of internet connections, as it provides a clear indication of how quickly data can be transmitted.

    Rate this question:

  • 2. 

    Which of the following computer language is used for artificial intelligence?

    • A.

      FORTRAN

    • B.

      PROLOG

    • C.

      C

    • D.

      COBOL

    • E.

      None of these

    Correct Answer
    B. PROLOG
    Explanation
    PROLOG is a computer language that is specifically designed for artificial intelligence (AI) programming. It is a logic programming language that allows users to define facts and rules, and then use them to create intelligent systems. PROLOG is known for its ability to perform automated reasoning and logical inference, making it well-suited for AI applications such as expert systems, natural language processing, and knowledge representation. Therefore, PROLOG is the correct answer for the given question.

    Rate this question:

  • 3. 

    What is a sorted array?

    • A.

      Arrays sorted in numerical order

    • B.

      Arrays sorted in alphabetical order

    • C.

      Elements of the array are placed at equally spaced addresses in the memory

    • D.

      All of the mentioned

    • E.

      Option 5

    Correct Answer
    D. All of the mentioned
    Explanation
    A sorted array refers to an array where the elements are arranged in a specific order. This order can be either numerical or alphabetical, depending on the context. Additionally, a sorted array can also have its elements placed at equally spaced addresses in the memory. Therefore, the correct answer is "All of the mentioned" as it encompasses all the possible explanations for a sorted array.

    Rate this question:

  • 4. 

    The time during which a job is processed by the computer is:

    • A.

      Delay Time

    • B.

      Real Time

    • C.

      Execution Time

    • D.

      Down Time

    • E.

      None of the above

    Correct Answer
    C. Execution Time
    Explanation
    The correct answer is "Execution Time" because it refers to the actual time taken by a computer to complete a specific task or job. It includes the time required for processing instructions, accessing and manipulating data, and performing any necessary calculations or operations. This term is commonly used in computer science and programming to measure the efficiency and performance of algorithms and programs.

    Rate this question:

  • 5. 

    Which type of statement does not occur in computer programs?

    • A.

      Sequence

    • B.

      Loop

    • C.

      Denial

    • D.

      Selection

    Correct Answer
    C. Denial
    Explanation
    Denial is not a type of statement that occurs in computer programs. The other three options, sequence, loop, and selection, are all common types of statements that are used in programming. Sequence refers to a series of instructions executed in a specific order, loop refers to repeating a set of instructions multiple times, and selection refers to making decisions based on certain conditions. However, denial is not a recognized type of statement in programming.

    Rate this question:

  • 6. 

    The two kinds of main Memory are:

    • A.

      Primary and Secondary

    • B.

      Random and Sequential

    • C.

      RAM and ROM

    • D.

      All of the above

    Correct Answer
    C. RAM and ROM
    Explanation
    RAM (Random Access Memory) and ROM (Read-Only Memory) are two types of main memory in a computer system. RAM is a volatile memory that stores data and instructions that are currently being used by the CPU. It allows for fast and temporary storage, but the data is lost when the power is turned off. ROM, on the other hand, is a non-volatile memory that contains instructions that are permanently written during manufacturing and cannot be modified or erased by normal computer operations. Both RAM and ROM play crucial roles in the functioning of a computer system.

    Rate this question:

  • 7. 

    A function that returns no values to the program that calls it is:

    • A.

      Not allowed in C++

    • B.

      Type Void

    • C.

      Type Empty

    • D.

      Type Barren

    • E.

      Option 4

    Correct Answer
    B. Type Void
    Explanation
    A function that returns no values to the program that calls it is referred to as a "void" function. In C++, void is used as a return type to indicate that the function does not return any value. This means that the function performs certain actions or tasks, but does not provide any output or result back to the calling program.

    Rate this question:

  • 8. 

    The keyword used to define a structure is:

    • A.

      Stru

    • B.

      Stt

    • C.

      Structure

    • D.

      Struct

    Correct Answer
    D. Struct
    Explanation
    The keyword used to define a structure in programming is "struct". This keyword is commonly used in languages like C and C++ to create user-defined data types that contain multiple variables of different types. By using the "struct" keyword, programmers can organize related data into a single unit, allowing for more efficient and organized code.

    Rate this question:

  • 9. 

    Header files often have the file extension:

    • A.

      .HE

    • B.

      .H

    • C.

      .HEA

    • D.

      .HEAD

    Correct Answer
    B. .H
    Explanation
    Header files in programming often have the file extension ".H". This convention is widely used in various programming languages, including C and C++. Header files contain declarations of functions, classes, and variables that are used in a program. They are typically included in source code files using the "#include" directive, allowing the compiler to access the necessary definitions during the compilation process. The ".H" file extension is a common convention that helps programmers quickly identify and differentiate header files from other types of files in a project.

    Rate this question:

  • 10. 

    Which of the following requires large computer memory?

    • A.

      Imaging

    • B.

      Graphics

    • C.

      Voice

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    All of the above options, imaging, graphics, and voice, require large computer memory because they involve processing and storing large amounts of data. Imaging involves dealing with high-resolution images, graphics require rendering and manipulating complex visual elements, and voice processing involves storing and analyzing audio data. These tasks require significant memory resources to handle the large amount of data involved and ensure smooth and efficient processing.

    Rate this question:

  • 11. 

    Variables declared outside a block are called?

    • A.

      Global

    • B.

      Universal

    • C.

      Stellar

    • D.

      External

    Correct Answer
    A. Global
    Explanation
    Variables declared outside a block are called global variables. These variables have a global scope and can be accessed and modified by any part of the program. They are not limited to a specific block or function and can be used throughout the entire program. Global variables are useful when multiple functions or blocks need to share the same data.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 16, 2020
    Quiz Created by
    Avani Joshi
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.