Search Header Logo

LAB 2 Quiz

Authored by Priyanka S Shivaramaiah

Professional Development

University

Used 5+ times

LAB 2 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On a 32-bit Linux system, what is the size (in bytes) of the int data type?

2 bytes

4 bytes

8 bytes

It depends on the compiler.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On a 64-bit Linux system, what is the size (in bytes) of a long data type?

2 bytes

4 bytes

8 bytes

16 bytes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of a pointer (void*) on a 64-bit Linux system?

2 bytes

4 bytes

8 bytes

16 bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types has a different size on a 32-bit system compared to a 64-bit system?

char

int

long

float

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of the size_t type on a 32-bit Linux system?

2 bytes

4 bytes

8 bytes

It varies based on the data being stored.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a 64-bit Linux system, what is the size of a double data type?

4 bytes

8 bytes

12 bytes

16 bytes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How much memory does the char data type occupy in both 32-bit and 64-bit Linux systems?

1 byte

2 bytes

4 bytes

8 bytes

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?