Free Logical Problems MCQs with Answers

519 Logical Problems MCQs from Analytical and Logical Reasoning, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.

Logical problems present several conditions about people, objects, events or choices and require their possible arrangements to be tested. They cover constraint-based reasoning, rankings, matching, grouping, scheduling and elimination, with attention to the difference between a complete solution and a possibility that merely satisfies one condition.

Last updated

Read the Logical Problems notesFree MDCAT chapter notes with key terms

519 questions · page 22 of 26

  • A. Library
  • B. Custom made
  • C. user defined
  • D. customized

Explanation: he answer is (C) user defined.Built-in functions (incorrect) are the correct terminology.

Correct answer: user defined
  • A. Signature
  • B. Function call
  • C. Function definition
  • D. Function routine

Explanation: The signature of a function specifies the function's name, the number, and data types of its parameters (if any), and the data type of the…

Correct answer: Signature
  • A. Entity
  • B. Report
  • C. Query
  • D. Screen

Explanation: A database report is the formatted result of database queries and contains useful data for decision making and analysis.

Correct answer: Report
  • A. Report Write
  • B. Reporter
  • C. Report Builder
  • D. Report Generator

Explanation: A report generator is used to generate reports. It retrieves data from database and displays in different formats.

Correct answer: Report Generator
  • A. Indexes
  • B. Integrity constraint
  • C. File organization
  • D. Data distribution strategy
  • E. Cottoning

Explanation: Integrity constraints are database rules that enforce data accuracy and consistency.

Correct answer: Integrity constraint
  • A. Fail
  • B. Pass
  • C. Fail pass
  • D. Syntax error

Explanation: Now, let's analyze the code logic:If/else statement)The value of grade is 'c'.The condition grade == 'a' || grade == 'b' && grade == 'A'…

Correct answer: Pass
  • A. 3NF
  • B. 2NF
  • C. Both (a) and (b)
  • D. BCNF

Explanation: First Normal Form (1NF): A relation is in 1NF if all its underlying domains contain atomic values (indivisible units of data) and there…

Correct answer: 2NF
  • A. a
  • B. not a
  • C. a not a
  • D. Compile the error Here's what happens:The variable ch is initialized with the character 'a'.The switch statement checks the value of ch.Since ch is 'a', it matches the case 'a' and executes printf("a");.However, there is no break statement after the first case, so the control falls through to the default case.As a result, it also executes printf("not a");.So, the correct output is:(c) a not a

Explanation: Compile the error Here's what happens:The variable ch is initialized with the character 'a'.The switch statement checks the value of…

Correct answer: a not a
  • A. Command line
  • B. System interface
  • C. Design interface
  • D. All of the above

Explanation: Design interface is not a user interface but rather a design field focused on the creation of user interfaces.

Correct answer: Design interface
  • A. Control who is allowed access to the data
  • B. Ensure that duplicate records are not entered into the table
  • C. Prevent users from changing the values stored in the table
  • D. Improve the quality of data entered for a specific property (i.e., table column)

Explanation: The correct answer is (d) Improve the quality of data entered for a specific property (i.e., table column).

Correct answer: Improve the quality of data entered for a specific property (i.e., table column)
  • A. Splitting
  • B. Partitioning
  • C. Replication
  • D. Dividing

Explanation: Replication is a method of database distribution where a complete copy or a subset of data from one database is maintained in another…

Correct answer: Replication
  • A. 1
  • B. 3
  • C. 2
  • D. 4

Explanation: void main (void) // Error 1: It's preferable to use 'int main(void)' instead of 'void main(void)'.{ int x= 10;if (x > 5 && < 15) // Error…

Correct answer: 4
  • A. \t
  • B. \v
  • C. \n
  • D. \f

Explanation: \f (form feed): This escape code was originally intended to move the printer paper to the next form.

Correct answer: \f
  • A. Signature
  • B. Function call
  • C. Function definition
  • D. Function routine

Explanation: The function signature specifies the function's name, the number and data types of its parameters (arguments), and the data type of the…

Correct answer: Signature
  • A. Name properties of the file
  • B. status properties of the file
  • C. current position of the file pointer
  • D. All of these

Explanation: A file pointer is a variable that stores the memory address of the first byte of data in a file.

Correct answer: All of these
  • A. One month and that is February
  • B. February, every 4 years
  • C. All months have 28 days
  • D. None

Explanation: This question requires logical deduction. While some months have 31 days, and February typically has 28 or 29 days, the question asks how…

Correct answer: All months have 28 days
Easy
  • A. East
  • B. West
  • C. North
  • D. South

Explanation: A right turn from north points directly east. The distance walked does not change the direction he faces after turning.

Correct answer: East