ISDS 505 Midterm 1 Chapter 1 A First C# Program Graded A+
ISDS 505 Midterm 1 Chapter 1 A First C# Program Graded A+ Programming languages such as C#, Java, and Visual Basic are what type of language? ️high-level A program that translates high-level programs into intermediate or machine code is a ️compiler The grammar and spelling rules of a programming language constitute its ️syntax Variables are : a. named memory locations b. unexpected results c. grammar rules d. operations ️a. named memory locations Programs in which you create and use objects that have attributes similar to their world counterparts are known as what type of programs? ️object-oriented programs Which of the following exemplify a class and an object, in that order: a. University and Yale b. Chair and desk c. Clydesdale and horse d. Maple and tree ️a. 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 Of the following languages, which is the least similar to C#? a. Java b. Visual Basic c. C++ d. machine language ️d. machine language A series of characters that appears within double quotation mark is a ️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) ️namespace Every method in C# contains a _____________________ . a. header and a body b. header and a footer c. variable and a class d. class and an object ️a. header and body Which of the following is a method? a. namespace b. class c. Main() d. static ️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 ️b. can contain digits
Written for
- Institution
- ISDS 505 Chapter 1 A First C# Program Gr
- Course
- ISDS 505 Chapter 1 A First C# Program Gr
Document information
- Uploaded on
- March 19, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
isds 505 midterm 1 chapter 1 a first c program gr
Also available in package deal