Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

quiz-placeholder

Similar activities

Data Structures

Data Structures

University

50 Qs

P1 COMPROG 1-6

P1 COMPROG 1-6

University

50 Qs

D & A Quiz

D & A Quiz

University

50 Qs

Technical MCQ

Technical MCQ

University

45 Qs

Quiz

Quiz

University

50 Qs

PF201: SCCPF2012223

PF201: SCCPF2012223

University

50 Qs

Quiz 1 PBO

Quiz 1 PBO

University

45 Qs

Orientation  Quiz

Orientation Quiz

University - Professional Development

50 Qs

Technical Quiz 2022-23

Technical Quiz 2022-23

Assessment

Quiz

Computers

University

Hard

Created by

Rohan Kumar

Used 2+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the syntax to declare a variable in C?

var x;

int x;

declare x;

define x;

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a valid C data type?

int

float

char

string

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the size of the 'int' data type in C on most systems?

4 bytes

8 bytes

2 bytes

1 byte

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operator is used for pointer-to-member access in C?

.

->

::

[]

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How is a single-line comment written in C?

// Comment

/* Comment */

# Comment

' Comment

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function is used to allocate memory dynamically in C?

alloc()

malloc()

new()

allocate()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the escape sequence for a newline character in C?

\n

\r

\t

\b

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?