100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ISDS 505 Exam 1 |Questions with 100% Correct Answers $10.49   Add to cart

Exam (elaborations)

ISDS 505 Exam 1 |Questions with 100% Correct Answers

 2 views  0 purchase
  • Course
  • Institution

ISDS 505 Exam 1 |Questions with 100% Correct Answers Which of the following is NOT a valid C# identifier Select one: a. _order b. a c. this d. a1 c. this What is NOT considered a keyword by the C# language? Select one: a. catch b. global c. implicit d. static b. global In Object-ori...

[Show more]

Preview 3 out of 24  pages

  • March 27, 2024
  • 24
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
ISDS 505 Exam 1 |Questions with 100% Correct Answers
Which of the following is NOT a valid C# identifier
Select one:
a. _order
b. a
c. this
d. a1

c. this

What is NOT considered a keyword by the C# language?
Select one:
a. catch
b. global
c. implicit
d. static

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

d. polymorphism

in "using System;", what is "System" referring to?
Select one:
a. class
b. variable
c. namespace
d. method

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

a. animal and bear

,What is the value of the expression 3+4*2 ?
Select one:
a. 10
b. 11
c. 5
d. 14

b. 11

What is the value of 5>=3?
Select one:
a. 1
b. 0
c. false
d. true

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

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

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"));

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

b. high-level

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

d. compiler

The grammar and spelling rules of a programming language constitute its _____________ .

d. syntax

Variables are _______________ .

a. named memory locations

Programs in which you create and use objects that have attributes similar to their real-world
counterparts are known as ______________ programs

object-oriented

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

University and Yale

The technique of packaging an object's attributes into a cohesive unit that can be used as an undivided
entity is ______________ .

encapsulation

Which of the following languages is least similar to C#?

machine language

A series of characters that appears within double quotation marks is a(n) ______________

literal string

The C# method that produces a line of output on the screen and then positions the cursor on the next
line is ________________ .

WriteLine()

Which of the following is a class?
a. System
b. Console
c. void
d. WriteLine()

b. Console

In C#, a container that groups similar classes is a(n) ___________________ .

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller LectAziim. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79079 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart