BSIT1104 CP PL Exam

BSIT1104 CP PL Exam

University

50 Qs

quiz-placeholder

Similar activities

Orientation  Quiz

Orientation Quiz

University - Professional Development

50 Qs

C Language

C Language

University

50 Qs

ITC 112 - Topic 2 Quiz

ITC 112 - Topic 2 Quiz

University

50 Qs

lập trình C2

lập trình C2

University

50 Qs

D & A Quiz

D & A Quiz

University

50 Qs

PRF192 PHẦN 1

PRF192 PHẦN 1

University

50 Qs

QUIZ1_COMPROG1

QUIZ1_COMPROG1

University

45 Qs

Assessment quiz 9-9-2021

Assessment quiz 9-9-2021

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?