DS 24 G2 Q1

DS 24 G2 Q1

University

10 Qs

quiz-placeholder

Similar activities

Revision 2 MCA

Revision 2 MCA

University

13 Qs

DSA Day 2

DSA Day 2

University

13 Qs

IT Quiz Round 3

IT Quiz Round 3

University

10 Qs

POINTERS

POINTERS

University

10 Qs

Linked List (Chapter 2)

Linked List (Chapter 2)

University

15 Qs

Arrays and Linked Lists

Arrays and Linked Lists

University

15 Qs

Programming in C

Programming in C

University

10 Qs

Quiz 9: Pointer

Quiz 9: Pointer

University

12 Qs

DS 24 G2 Q1

DS 24 G2 Q1

Assessment

Quiz

Computers

University

Medium

Created by

HASAN YIGIT

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations is NOT typically associated with data structures?

Traversing

Sorting

Compiling

Searching

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of combining two lists into one called?

Insertion

Merging

Sorting

Searching

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes an algorithm?

A way to store data

A sequence of steps to solve a problem

A programming language

A hardware device

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to get the address of a variable in C?

*

&

%

@

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value stored in a pointer variable?

The data stored in the memory location it points to.

The address of the memory location it points to.

The size of the memory location.

The type of data it points to.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about NULL pointers is true?

NULL pointers point to a valid memory location.

NULL pointers must be dereferenced before use.

A NULL pointer points to nothing.

A NULL pointer can hold a non-zero value.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statements is true about pointer arithmetic?

Adding an integer to a pointer increases the pointer by that integer.

Adding an integer to a pointer increases the pointer by that integer multiplied by the size of the type the pointer points to.

Subtracting an integer from a pointer decreases the pointer by one byte.

Pointer arithmetic is not allowed in C.

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?