100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ISDS 505 Midterm Study Guide Latest 2024 Questions and Answers (100% Accuracy)

Rating
5.0
(1)
Sold
-
Pages
31
Grade
A+
Uploaded on
25-03-2024
Written in
2023/2024

Which of the following is NOT a valid C# identifier Select one: a. _order b. a c. this d. a1 Answer Is: - c. this What is NOT considered a keyword by the C# language? Select one: a. catch b. global c. implicit d. static Answer Is: - 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 Answer Is: - d. polymorphism in "using System;", what is "System" referring to? Select one: a. class b. variable c. namespace d. method Answer Is: - 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 Answer Is: - a. animal and bear What is the value of the expression 3+4*2 ? Select one: a. 10 b. 11 c. 5 d. 14 Answer Is: - b. 11 What is the value of 5>=3? Select one: a. 1 b. 0 c. false d. true Answer Is: - 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 Answer Is: - 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 Answer Is: - 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")); Answer Is: - 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 Answer Is: - b. high-level A program that translates high-level programs into intermediate or machine code is a(n) _______________________ . Answer Is: - d. compiler The grammar and spelling rules of a programming language constitute its _____________ . Answer Is: - d. syntax Variables are _______________ . Answer Is: - 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 Answer Is: - object-oriented Which of the following pairs is an example of a class and an object, in that order? Answer Is: - University and Yale The technique of packaging an object's attributes into a cohesive unit that can be used as an undivided entity is ______________ . Answer Is: - encapsulation Which of the following languages is least similar to C#? Answer Is: - machine language A series of characters that appears within double quotation marks is a(n) ______________ Answer Is: - literal string The C# method that produces a line of output on the screen and then positions the cursor on the next line is ________________ . Answer Is: - WriteLine() Which of the following is a class? a. System b. Console c. void d. WriteLine() Answer Is: - b. Console In C#, a container that groups similar classes is a(n) ___________________ . Answer Is: - c. namespace Every method in C# contains a _________________________ . Answer Is: - header and a body Which of the following is a method? a. namespace b. class c. Main() d. static Answer Is: - c. Main() In C#, an identifier _________________________ . a. must begin with an underscore b. can contain digits c. must be no more than 16 characters d. can contain only lowercase letters Answer Is: - can contain digits Which of the following identifiers is not legal in C#? a. per cent increase b. annualReview c. HTML d. alternativetaxcredit Answer Is: - a. per cent increase The text of a program you write is called _________________________. Answer Is: - source code

Show more Read less
Institution
ISDS 505
Module
ISDS 505











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
ISDS 505
Module
ISDS 505

Document information

Uploaded on
March 25, 2024
Number of pages
31
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Reviews from verified buyers

Showing all reviews
1 year ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Ascorers Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
898
Member since
1 year
Number of followers
59
Documents
3655
Last sold
1 hour ago
ASCORERSHUB

Welcome to your one-stop destination for high-quality academic resources! Here you’ll find test banks, solution manuals, ATI study guides, iHuman case studies, nursing exam prep materials, and verified textbook answers — all carefully selected to help you study smarter and score higher. Whether you’re preparing for nursing exams, business courses, medical case studies, or general college tests, this store offers reliable, up-to-date materials used by top students worldwide. Popular categories include: ✅ Test Banks & Solution Manuals ✅ ATI & HESI Study Guides ✅ iHuman Case Studies & Answers ✅ NCLEX & Nursing Exam Prep ✅ Business, Accounting & Economics Test Banks ✅ Psychology, Biology & Anatomy Materials Boost your academic performance with expertly curated resources that match real exams and class content.

Read more Read less
4.8

1078 reviews

5
963
4
47
3
45
2
9
1
14

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions