Shared Flashcard Set

Details

Computer Science
Facts and questions that need to be known
16
Computer Science
Undergraduate 1
03/31/2015

Additional Computer Science Flashcards

 


 

Cards

Term

 

 

 

Literal

Definition

 

 

In a cout statement,

the area betweeen the "   " 

Term

 

 

 

Truth Table

Definition

 

 

 

A table that shows all possible values of Boolean Variables.

Term

 

 

 

Declaring a Variable 

Definition

 

 

 

name and reserve a memory location to store information

Term

Where does programing begin?

 

A) #include <iostream>

B) using namespace std;

C) int main (){
D) return 0;

Definition

 

 

 

C

Term

what is the correct way to add a comment into your 

programming?

 

A)  ||
B)  \\
C) \ /
D)  //

Definition

 

 

 

D

Term

Which of the following is a C++ variable type?

 

A) int
B) char
C) float
D) All of the above 

Definition

 

 

 

D

Term

Match the following binary numbers

to the decimal answers.

A) 0110        1) 75
B) 1000        2) 15
C) 01111       3) 8
D) 11101       4) 6
E) 1001011   5) 29

Definition

 

A      4

B      8

C      2

D    29

E    75

Term

Match the following decimal numbers

to the same value in hexadecimal.

A) 12        1) 60
B) 270      2) 19
C) 25        3) C
D) 2991   4) 10E
E) 96       5) BAF

Definition

 

A   3

B   4

C   2

D   5

E   1

Term

 

 

 

Write the code that does nothing.

Definition

 

#include <iostream>

using namespace std;

int main (){

return 0;

}

Term

 

 

 

Name the rules with naming variables in C++.

Definition

 

 

1) The only characters are letters, numbers, and ___

2) It can not begin with a number

3) Can not be a reserved word in C++

Term

True or False

 

The three control structures are

loop, selection, and choose.

Definition

 

 

False

loop, selection, and sequence

Term

True or False

 

The five steps to problem solving are

1)Understanding 

2)Design

3)Verify

4)Implement

5)Test

Definition

 

 

 

True

Term

True or False

 

The three types of RAM are

MRAM
SRAM

BRAM 

Definition

 

False

 

MRAM
SRAM
DRAM 

Term

 

 

______ stores data long term using

semiconductor technology.

Definition

 

 

 

Flash memory

Term

 

 

The ____ _____ assigns the value on the right to the variable location on the left.

Definition

 

 

 

Assignment operator

Term

 

 

An _____ solution can be expressed as

a series of steps.

Definition

 

 

 

Algorithmic

Supporting users have an ad free experience!