Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

quiz-placeholder

Similar activities

Joy of Programming

Joy of Programming

University

50 Qs

Test 2

Test 2

University

49 Qs

C programming quiz

C programming quiz

University

55 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

Algoritma dan Struktur Data

Algoritma dan Struktur Data

University

50 Qs

2nd C Programming Quiz

2nd C Programming Quiz

University

50 Qs

Array in Python

Array in Python

University

45 Qs

Ngôn ngữ lập trình C/C++

Ngôn ngữ lập trình C/C++

University

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?