dATATYPES-PART 2

dATATYPES-PART 2

Professional Development

8 Qs

quiz-placeholder

Similar activities

Day6_Quiz_NBKR

Day6_Quiz_NBKR

Professional Development

10 Qs

TCS Preparation

TCS Preparation

Professional Development

10 Qs

Day4_Quiz_NBKR

Day4_Quiz_NBKR

Professional Development

10 Qs

Admin Trivia

Admin Trivia

Professional Development

11 Qs

ABSL Asset Allocator Fund of Fund

ABSL Asset Allocator Fund of Fund

Professional Development

10 Qs

HADOOP | PIG LATIN

HADOOP | PIG LATIN

University - Professional Development

9 Qs

MPMC UNIT TEST - I

MPMC UNIT TEST - I

Professional Development

13 Qs

QUIZ 3DSMB 28.07

QUIZ 3DSMB 28.07

Professional Development

10 Qs

dATATYPES-PART 2

dATATYPES-PART 2

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Niranjani Vijayan

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of int in most modern C compilers on 32-bit systems?

4 bytes

2 bytes

8 bytes

Compiler dependent

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in C is used to store a single character?

char

int

float

double

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C data type?

short

long long

byte

long double

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum value that can be stored in an unsigned int on a system where int is 4 bytes?

2^32 - 1

2^31 - 1

2^32

2^31

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to declare a floating-point number in C?

int

char

float

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code?#include <stdio.h>

int main() {

int x = 10;

float y = 5.2;

printf("%d %f", x, y);

return 0;

}

10 5.2

10.0 5.2

10 5.200000

Compiler Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code?

#include <stdio.h>

int main() {

char ch = 'A';

printf("%c", ch + 1);

return 0;

}

A

B

66

65

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?