Search Header Logo

Domestic - Midterm Exam-C++Programming

Authored by Alpie Catama

Computers

University

Used 1+ times

Domestic - Midterm Exam-C++Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The spelling and grammar of a programming language

diction

vocabulary

word wall

syntax

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which type is incorrect?

array

int

float

double

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which library is used for input output in C++?

<stdio.h>

<stdlib.h>

<iostream.h>

<math.h>

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a logical operator in C++ language?

&&

!

||

&

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A function that has no return type starts with:

int

void

Braces

Arguments

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What punctuation is used to signal the beginning and end of code blocks?

-> and <-

( and )

{ }

BEGIN and END

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a correct comment?

/ Comments /

*Comment *

{ Comment }

/* Comment */

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?