Programming Fundamentals

Programming Fundamentals

University

30 Qs

quiz-placeholder

Similar activities

Thiết kế quy trình kinh doanh

Thiết kế quy trình kinh doanh

University

26 Qs

SAS Dasar Program Keahlian RPL Kelas X

SAS Dasar Program Keahlian RPL Kelas X

10th Grade - University

25 Qs

ITE 292 Long Quiz

ITE 292 Long Quiz

University

26 Qs

Soal Labirin dan Berpikir Komputasional

Soal Labirin dan Berpikir Komputasional

7th Grade - University

25 Qs

Database Technologies Quiz

Database Technologies Quiz

University

25 Qs

ICT Term 3 Quiz

ICT Term 3 Quiz

7th Grade - University

25 Qs

PTS TIK 8D

PTS TIK 8D

2nd Grade - University

25 Qs

Introdução a Programação Estruturada em C

Introdução a Programação Estruturada em C

University

26 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?