BSIT1104 CP PL Exam

BSIT1104 CP PL Exam

University

50 Qs

quiz-placeholder

Similar activities

TECHNICAL QUIZ

TECHNICAL QUIZ

University

45 Qs

P1 COMPROG 1-6

P1 COMPROG 1-6

University

50 Qs

MEcp1LABMT1030

MEcp1LABMT1030

University

50 Qs

ข้อสอบปลายภาค

ข้อสอบปลายภาค

University

50 Qs

Java Exception Handling and String Handling

Java Exception Handling and String Handling

University

49 Qs

ES084 Final Exam

ES084 Final Exam

University

50 Qs

Recursion in C/Java/Python

Recursion in C/Java/Python

University

50 Qs

Technical Quiz 2022-23

Technical Quiz 2022-23

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?