1.
Speed of internet connection is measured in?
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.
2.
Which of the following computer language is used for artificial intelligence?
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.
3.
What is a sorted array?
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.
4.
The time during which a job is processed by the computer is:
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.
5.
Which type of statement does not occur in computer programs?
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.
6.
The two kinds of main Memory are:
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.
7.
A function that returns no values to the program that calls it is:
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.
8.
The keyword used to define a structure is:
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.
9.
Header files often have the file extension:
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.
10.
Which of the following requires large computer memory?
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.
11.
Variables declared outside a block are called?
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.