SEQUENTIAL PROGRAMMING MCQS

SEQUENTIAL PROGRAMMING MCQS

University

50 Qs

quiz-placeholder

Similar activities

IUTCS Freshers

IUTCS Freshers

University

50 Qs

Unit 4 - Coding and Logic | End of LO1 and LO2 Ax.

Unit 4 - Coding and Logic | End of LO1 and LO2 Ax.

12th Grade - University

45 Qs

Midterm Exam (BSIT 3S)

Midterm Exam (BSIT 3S)

University

50 Qs

Computer Systems and Algorithms Quiz

Computer Systems and Algorithms Quiz

10th Grade - University

50 Qs

Quiz

Quiz

University

50 Qs

Computer

Computer

University

50 Qs

Sumatif kelas 9

Sumatif kelas 9

9th Grade - University

45 Qs

AQA GCSE Computer Systems

AQA GCSE Computer Systems

7th Grade - University

50 Qs

SEQUENTIAL PROGRAMMING MCQS

SEQUENTIAL PROGRAMMING MCQS

Assessment

Quiz

Computers

University

Hard

Created by

Abdulmalik Ahmad Lawan

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an identifier in programming?
A reserved keyword
A named entity for data or function
A mathematical operator
A data type in Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C++, what does a constant represent?
A variable that can change its value
A memory address
A value that remains constant throughout the program
A function with no return type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a variable differ from a constant in programming?
Variables are immutable, constants are mutable
Constants store changing values, variables store fixed values
Variables can be reassigned, constants cannot
Constants are only used in object-oriented programming

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a "class" in object-oriented programming?
A blueprint for creating objects
A data type
A constant variable
A loop structure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What distinguishes a function from a method?
Functions are not part of classes, methods are
Methods are used for mathematical operations, functions for logic
Functions are called with parentheses, methods are not
Functions are only used in procedural programming

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is recursion important in programming?
It reduces code complexity
It saves memory
It allows a function to call itself
It speeds up program execution

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a common data type?
Algorithm
Loop
Integer
Function

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?