BCA KNOCKOUTS

BCA KNOCKOUTS

University

20 Qs

quiz-placeholder

Similar activities

Mesin Pencari Artikel

Mesin Pencari Artikel

11th Grade - University

20 Qs

Dominando Google Sheets

Dominando Google Sheets

12th Grade - University

15 Qs

DATA STRUCTUIR Quiz1 (AIML)

DATA STRUCTUIR Quiz1 (AIML)

University

20 Qs

Proceso de innovación (seleccion de ideas)

Proceso de innovación (seleccion de ideas)

4th Grade - University

15 Qs

GDG ANDROID BOOTCAMP QUIZ

GDG ANDROID BOOTCAMP QUIZ

University

20 Qs

Quiz Kelas 7

Quiz Kelas 7

7th Grade - University

15 Qs

Windows File Sharing Quiz

Windows File Sharing Quiz

University

19 Qs

Web Browser

Web Browser

9th Grade - University

20 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?