BSCE_MIDTERM_EXAM

Quiz
•
Computers
•
University
•
Easy
Aldreyn Pineda
Used 8+ times
FREE Resource
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
Similar Resources on Wayground
30 questions
C-Programming

Quiz
•
University
20 questions
kuis pertama

Quiz
•
University
20 questions
Week 6 Quiz

Quiz
•
University
20 questions
PHP Quiz 1

Quiz
•
University
20 questions
PF_Q1_IT1104

Quiz
•
University
20 questions
PERULANGAN WHILE DO

Quiz
•
University
20 questions
Algoritma Pemrograman

Quiz
•
University
20 questions
AWD - Prelim Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade