FINAL_EXAM (CFP_122)

FINAL_EXAM (CFP_122)

University

35 Qs

quiz-placeholder

Similar activities

Quiz Algoritma dan Pemrograman

Quiz Algoritma dan Pemrograman

11th Grade - University

40 Qs

Java Control Structures

Java Control Structures

11th Grade - Professional Development

39 Qs

Attainment 4 - Classroom Activity (Grade 10)

Attainment 4 - Classroom Activity (Grade 10)

9th Grade - University

35 Qs

UTS PTI 2022

UTS PTI 2022

University

30 Qs

CS 1: Big Idea #3 Practice

CS 1: Big Idea #3 Practice

9th Grade - University

32 Qs

Algoritma dan Pemrogaman Dasar

Algoritma dan Pemrogaman Dasar

10th Grade - University

30 Qs

Computer Science Vocabulary (StLeOb)

Computer Science Vocabulary (StLeOb)

6th Grade - University

34 Qs

Java Programming

Java Programming

University

30 Qs

FINAL_EXAM (CFP_122)

FINAL_EXAM (CFP_122)

Assessment

Quiz

Computers

University

Easy

Created by

Aldreyn Pineda

Used 9+ times

FREE Resource

AI

Enhance your content

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

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the 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 • 1 pt

C++ is an alias of C#?

TRUE

FALSE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in C++ code?

# This is a comment

/*This is a comment

/*/This is a comment

//This is a comment

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Int

Char

Float

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the numeric value 5?

int x = 5

double x = 5

num x = 5

x = 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the floating number 2.8?

int x = 2.8;

double x = 2.8;

byte x = 2.8

x = 2.8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

#include<iosstream>

#include<inputstr>

#include<stream>

#include<iostream>

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?