Programming Fundamentals

Programming Fundamentals

University

30 Qs

quiz-placeholder

Similar activities

soal uh 9

soal uh 9

9th Grade - University

25 Qs

ІІ - аралық бақылау (ТРПО)

ІІ - аралық бақылау (ТРПО)

University

25 Qs

Multimedia Concepts Worksheet

Multimedia Concepts Worksheet

University

25 Qs

Pengayaan Informatika Kelas 12

Pengayaan Informatika Kelas 12

12th Grade - University

25 Qs

midterm Quiz1 on Human-Computer Interaction

midterm Quiz1 on Human-Computer Interaction

University

25 Qs

Quiz PTS

Quiz PTS

4th Grade - University

25 Qs

STS INFORMATIKA *

STS INFORMATIKA *

8th Grade - University

25 Qs

Seatwork #4

Seatwork #4

12th Grade - University

25 Qs

Programming Fundamentals

Programming Fundamentals

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Jahanzeb Hafeez

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...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid C++ identifier?

2value

value_2

int

for

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which header file is required for cout and cin?

A) stdio.h

B) iostream

C) conio.h

D) stdlib.h

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the default value of an uninitialized local variable in C++?

0

Garbage value

NULL

-1

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which data type is best for storing a single character?

string

char

char[]

bool

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will sizeof(int) typically return?

1

2

4

Depends on compiler

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which type conversion is done automatically?

Explicit

Implicit

Manual

Casting only

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the result of 10 / 3 in integer division?

A) 3.33

B) 3

C) 4

D) Error

Create a free account and access millions of resources

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?