BCA KNOCKOUTS

BCA KNOCKOUTS

University

20 Qs

quiz-placeholder

Similar activities

LONG QUIZ MIS

LONG QUIZ MIS

University

20 Qs

quizizz P. Web

quizizz P. Web

11th Grade - University

20 Qs

Recap Handout 3 & 4

Recap Handout 3 & 4

6th Grade - University

15 Qs

Kuis Ms Word 1

Kuis Ms Word 1

7th Grade - University

20 Qs

Quiz #2

Quiz #2

University

15 Qs

Table,Image formatting

Table,Image formatting

5th Grade - University

15 Qs

Fundamentos de Bases de Datos

Fundamentos de Bases de Datos

10th Grade - University

15 Qs

POST-TEST

POST-TEST

University

15 Qs

BCA KNOCKOUTS

BCA KNOCKOUTS

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

KP Singh

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is the correct syntax to include a header file in C?

header_file.h

import header_file.h

#include

#include {header_file.h}

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which of the following is a valid variable declaration in C?

float y;

int x;

char z = 'a';

double 1a;

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What does the 'printf' function do in C?

The 'printf' function compiles the code in C.

The 'printf' function stores data in a file.

The 'printf' function outputs formatted text to the console.

The 'printf' function reads input from the user.

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which operator is used to access a member of a structure in C?

::

->

[]

.

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is the output of the following code: printf('%d', 5 + 2 * 3);?

9

10

8

11

6.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which of the following is a feature of C++?

Procedural programming only

Object-oriented programming support

Limited to low-level programming

No support for classes

7.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is the purpose of the 'new' keyword in C++?

The 'new' keyword is used to define a function.

The 'new' keyword is for declaring global variables.

The 'new' keyword is used for dynamic memory allocation.

The 'new' keyword is used to create a copy of an object.

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?