
BSIT1104 CP PL Exam
Authored by Ardi Moran
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which part of a C program is executed first?
Global Declarations
Header Files
main() Function
Local Declarations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a basic data type in C?
int
float
structure
char
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the purpose of the #include <stdio.h> statement?
Declares a global variable
Includes a standard library for input/output functions
Starts the main() function
Defines a constant
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable name is invalid in C?
age1
_age
1age
Age
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about C syntax is true?
C is not case-sensitive.
Statements do not need semicolons.
C uses braces to group statements.
Variables can start with a number.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to define a constant value in C?
int MAX = 100;
#define MAX 100
#const MAX 100
define MAX = 100
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a reserved keyword in C?
return
printf
main
variable
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?