100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

COSC 2436 ALL CHAPTER FINAL UPDATED ACTUAL Exam Questions and CORRECT Answers

Puntuación
-
Vendido
-
Páginas
86
Grado
A+
Subido en
15-12-2024
Escrito en
2024/2025

COSC 2436 ALL CHAPTER FINAL UPDATED ACTUAL Exam Questions and CORRECT Answers The devices that feed data and programs into computers are called ____ devices. - CORRECT ANSWER - input ____ represent information with a sequence of 0s and 1s. - CORRECT ANSWER - Digital signals A sequence of eight bits is called a___________. - CORRECT ANSWER - byte The term GB refers to ___. - CORRECT ANSWER - gigabyte

Mostrar más Leer menos
Institución
Cosc
Grado
Cosc











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Cosc
Grado
Cosc

Información del documento

Subido en
15 de diciembre de 2024
Número de páginas
86
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

COSC 2436 ALL CHAPTER FINAL
UPDATED ACTUAL Exam Questions and
CORRECT Answers
The devices that feed data and programs into computers are called ____ devices. - CORRECT
ANSWER - input



____ represent information with a sequence of 0s and 1s. - CORRECT ANSWER - Digital
signals


A sequence of eight bits is called a___________. - CORRECT ANSWER - byte



The term GB refers to ___. - CORRECT ANSWER - gigabyte



consists of 65,536 characters. - CORRECT ANSWER - Unicode


A program called a(n) ____ combines the object program with the programs from libraries. -
CORRECT ANSWER - linker



____ is a valid char value. - CORRECT ANSWER - 'A'



An example of a floating point data type is ____. - CORRECT ANSWER - double



The length of the string "computer science" is ____. - CORRECT ANSWER - 16


In a C++ program, one and two are double variables and input values are 10.5 and 30.6. After the
statement cin >> one >> two; executes, ____. - CORRECT ANSWER - one = 10.5, two =
30.6

,Which of the following is the newline character? - CORRECT ANSWER - \n


Suppose that x is an int variable and y is a double variable and the input is:
10 20.7
Choose the values after the following statement executes: cin >> x >> y;. - CORRECT
ANSWER - x = 10, y = 20.7


Suppose that alpha is an int variable and ch is a char variable and the input is:
17 A
What are the values after the following statements execute?
cin >> alpha;

cin >> ch; - CORRECT ANSWER - alpha = 17, ch = 'A'


Suppose that ch1, ch2, and ch3 are variables of the type char and the input is:
AB
C
Choose the value of ch3 after the following statement executes:

cin >> ch1 >> ch2 >> ch3; - CORRECT ANSWER - 'C'


Suppose that x is an int variable, ch is a char variable, and the input is:
276.
Choose the values after the following statement executes:

cin >> ch >> x; - CORRECT ANSWER - ch = '276', x = '.'


Suppose that alpha, beta, and gamma are int variables and the input is:
100 110 120
200 210 220
300 310 320

,What is the value of gamma after the following statements execute?
cin >> alpha;
cin.ignore(100, '\n');
cin >> beta;
cin.ignore(100,'\n');

cin >> gamma; - CORRECT ANSWER - 300


Suppose that ch1 and ch2 are char variables and the input is:
WXYZ
What is the value of ch2 after the following statements execute?
cin >> ch1;
ch2 = cin.peek();

cin >> ch2; - CORRECT ANSWER -X


Manipulators without parameters are part of the ____ header file. - CORRECT
ANSWER - iostream


Consider the following program segment.
ifstream inFile; //Line 1
int x, y; //Line 2
... //Line 3
inFile >> x >> y; //Line 4


Which of the following statements at Line 3 can be used to open the file progdata.dat and input
data from this file into x and y at Line 4? - CORRECT ANSWER -
inFile.open("progdata.dat");


Suppose that ch1 and ch2 are char variables, alpha is an int variable, and the input is:
A 18

, What are the values after the following statement executes?
cin.get(ch1);
cin.get(ch2);

cin >> alpha; - CORRECT ANSWER - ch1 = 'A', ch2 = ' ', alpha = 18



The expression in an if statement is sometimes called a(n) ____. - CORRECT ANSWER -
decision maker


What is the output of the following C++ code?


int x = 35;
int y = 45;
int z;


if (x > y)
z = x + y;
else
z = y - x;


cout << x << " " << y << " " << z << endl; - CORRECT ANSWER - 35 45 10


When one control statement is located within another, it is said to be ____. - CORRECT
ANSWER - nested


What is the output of the following code?


if (6 > 8)
{
$11.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
MGRADES Stanford University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1123
Miembro desde
2 año
Número de seguidores
104
Documentos
68962
Última venta
7 horas hace
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

178 reseñas

5
76
4
31
3
47
2
9
1
15

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes