BSIT1104 CP PL Exam

BSIT1104 CP PL Exam

University

50 Qs

quiz-placeholder

Similar activities

Simulado_Python_ADS

Simulado_Python_ADS

University

52 Qs

C Programming Quiz

C Programming Quiz

University

53 Qs

c programming

c programming

University

50 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

FPL-I-BACKLOG

FPL-I-BACKLOG

University

50 Qs

PRF192-fe-fa24

PRF192-fe-fa24

University

45 Qs

Quiz on C Operators

Quiz on C Operators

University

49 Qs

MIDTERM ITC-103

MIDTERM ITC-103

University

50 Qs

BSIT1104 CP PL Exam

BSIT1104 CP PL Exam

Assessment

Quiz

Computers

University

Medium

Created by

Ardi Moran

Used 3+ times

FREE Resource

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

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?