100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ISDS 505 Exam 1 Questions With Highest Ratings || Fully Solved $11.99   Add to cart

Exam (elaborations)

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

 4 views  0 purchase
  • Course
  • ISDS 505
  • Institution
  • ISDS 505

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 programmi...

[Show more]

Preview 3 out of 30  pages

  • September 23, 2024
  • 30
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ISDS 505
  • ISDS 505
avatar-seller
Victoria108
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

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 Victoria108. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 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
$11.99
  • (0)
  Add to cart