BSCE_MIDTERM_EXAM

BSCE_MIDTERM_EXAM

University

25 Qs

quiz-placeholder

Similar activities

Stage 5E Explorers-Scratch Quiz

Stage 5E Explorers-Scratch Quiz

5th Grade - University

20 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Pra UPS 2

Pra UPS 2

University

20 Qs

PC Safety and Maintenance

PC Safety and Maintenance

University

20 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

Micro Arch - CPUs & Fetch-Execute

Micro Arch - CPUs & Fetch-Execute

University

20 Qs

ECE522 QUIZ 2

ECE522 QUIZ 2

University

20 Qs

AI BootCamp: 2024 Edition- Session 1

AI BootCamp: 2024 Edition- Session 1

University

20 Qs

BSCE_MIDTERM_EXAM

BSCE_MIDTERM_EXAM

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Aldreyn Pineda

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is a correct syntax to output "Hello World" in C++?

Console.WriteLine("Hello World");

cout<<"Hello World");

print("Hello World);

System.out.println("Hello World");

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How do you insert COMMENTS in C++ code?

# This is a comment


//This is a comment

/*This is a comment


/*/This is a comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which data type is used to create a variable that should store text?


FLOAT

STRING


CHAR

INT

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which header file lets us work with input and output objects?

#include<string.h>

#include<iosstream>

#include<stdlib.h>

#include<iostream>

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which operator can be used to compare two values?


<>


><

==

!=

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How do you start writing an if statement in C++?

if (x > y)


if x > y then:

if x > y

if (x > y);

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How many Arithmetic Operators we have in C++?

5

4

6

7

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?