• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 30 páginas
Examen

ISDS 505 Exam 1 Questions With Highest Ratings || Fully Solved

Document preview thumbnail
Vista previa 3 fuera de 30 páginas

Which of the following is NOT a valid C# identifier Select one: a. _order b. a c. this d. a1 - Correct Answer c. this What is NOT considered a keyword by the C# language? Select one: a. catch b. global c. implicit d. static - Correct Answer b. global In Object-oriented programming language, the ability to create methods that act appropriately depending on the context is called _________. Select one: a. inheritance b. encapsulation c. instance d. polymorphism - Correct Answer d. polymorphism in "using System;", what is "System" referring to? Select one: a. class b. variable c. namespace d. method - Correct Answer c. namespace Which of the following pairs is an example of a class and an object, in that order? Select one: a. animal and bear b. cup and glass c. CSUF and university d. car and vehicle - Correct Answer a. animal and bear What is the value of the expression 3+4*2 ? Select one:

Vista previa del contenido

ISDS 505 Exam 1 Questions With Highest
Ratings || Fully Solved
Which of the following is NOT a valid C# identifier

Select one:

a. _order

b. a

c. this

d. a1 - Correct Answer c. this



What is NOT considered a keyword by the C# language?

Select one:

a. catch

b. global

c. implicit

d. static - Correct Answer b. global



In Object-oriented programming language, the ability to create methods that act appropriately
depending on the context is called _________.

Select one:

a. inheritance

b. encapsulation

c. instance

d. polymorphism - Correct Answer d. polymorphism



in "using System;", what is "System" referring to?

Select one:

a. class

b. variable

,c. namespace

d. method - Correct Answer c. namespace



Which of the following pairs is an example of a class and an object, in that order?

Select one:

a. animal and bear

b. cup and glass

c. CSUF and university

d. car and vehicle - Correct Answer a. animal and bear



What is the value of the expression 3+4*2 ?

Select one:

a. 10

b. 11

c. 5

d. 14 - Correct Answer b. 11



What is the value of 5>=3?

Select one:

a. 1

b. 0

c. false

d. true - Correct Answer d. true



In C#, you use the ____ data type to hold a series of characters.

Select one:

a. string

b. int

c. sbyte

, d. char - Correct Answer a. string



Assume you have a variable declared as int var1=5; What is the value of 27%var1 ?

Select one:

a. 5

b. 2

c. 4

d. 0 - Correct Answer b. 2



Assume that you declared a double variable called unitPrice which is used to get an item's unit price.
Which of the following will display the unit price in a currency format with 2 decimal places?

Select one:

a. Console.WriteLine(unitPrice.ToString());

b. Both Console.WriteLine(unitPrice.ToString("C")); and Console.WriteLine(unitPrice.ToString("C2"));

c. Console.WriteLine(unitPrice.ToString("C"));

d. Console.WriteLine(unitPrice.ToString("C2")); - Correct Answer b. Both
Console.WriteLine(unitPrice.ToString("C")); and Console.WriteLine(unitPrice.ToString("C2"));



Programming languages such as C#, Java, and Visual Basic are ____________________languages.

a. machine

b. high-level

c. low-level

d. uninterpreted - Correct Answer b. high-level



A program that translates high-level programs into intermediate or machine code is a(n)
_______________________ . - Correct Answer d. compiler



The grammar and spelling rules of a programming language constitute its _____________ . - Correct
Answer d. syntax

Información del documento

Subido en
23 de septiembre de 2024
Número de páginas
30
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$12.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

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.
Lydiah247
2.2
(5)
Vendido
33
Seguidores
11
Artículos
2844
Última venta
6 meses hace



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