Search Header Logo

DS 24 G2 Q1

Authored by HASAN YIGIT

Computers

University

Used 1+ times

DS 24 G2 Q1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?