Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

quiz-placeholder

Similar activities

Programación II: Interfaz Hombre Maquina

Programación II: Interfaz Hombre Maquina

University

50 Qs

Event Driven Handouts 1 & 2

Event Driven Handouts 1 & 2

University

45 Qs

Assignment Quiz

Assignment Quiz

University

47 Qs

Java Fundamentals Challenge

Java Fundamentals Challenge

University

53 Qs

DS and DAA Mock Quiz

DS and DAA Mock Quiz

University

50 Qs

Struktur Data

Struktur Data

University

45 Qs

Quiz82-DS

Quiz82-DS

University

45 Qs

SNB_SSY

SNB_SSY

University

49 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?