Programming basics c++ parts and input command Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

mostly written at the beginning of any c++ program.

A

include

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

program that allows you to perform math tasks on numbers. (min,max,round,etc.)

A

include

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

standard is short for

A

std

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

a unique identifier that you can use to group items together

A

namespace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

C++ provides a namespace for its standard library called the_

A

standard namespace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

entry point of every c++ program

A

int main()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

a pre-processor directive

A
#include
the hashtag
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

used to create a blank line

A

/n/n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

used to create a new line

A

/n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

2 types of comments

A

// or /*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

where the first line is executed

A

int main()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

inserts contents of another file into the program

A

include

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

a command available in the iostream external program

A

cout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What follows the &laquo_space;symbol is the items you want to_

A

display

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

cout<

A

error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ends the main function

A

return 0;

17
Q

The cout object, together with

the &laquo_space;operator, is used to

A

output values or print texts