Programming Fundamentals

Programming Fundamentals

University

30 Qs

quiz-placeholder

Similar activities

QUIZ # 1 LESSON 1 DCIT 21

QUIZ # 1 LESSON 1 DCIT 21

University

25 Qs

Revision

Revision

University

25 Qs

KELAS 6 Analisis Data A. ANALISIS DATA

KELAS 6 Analisis Data A. ANALISIS DATA

6th Grade - University

25 Qs

MPMP - Quiz

MPMP - Quiz

University

25 Qs

Quiz2_Drone Hacking

Quiz2_Drone Hacking

University

25 Qs

RM_4. nedelja

RM_4. nedelja

University

25 Qs

Networks & the Internet Quiz

Networks & the Internet Quiz

12th Grade - University

25 Qs

General quiz

General quiz

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

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?