ISDS 505 Midterm 1 Chapter 1 A First C# Program latest (2024 100%) solved
Programming languages such as C#, Java, and Visual Basic are what type of language? - Answer- high-level A program that translates high-level programs into intermediate or machine code is a - Answer- compiler The grammar and spelling rules of a programming language constitute its - Answer- syntax Variables are : a. named memory locations b. unexpected results c. grammar rules d. operations - Answer- 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? - Answer- 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 - Answer- 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 - Answer- encapsulation Of the following languages, which is the least similar to C#? a. Java b. Visual Basic c. C++ d. machine language - Answer- d. machine language A series of characters that appears within double quotation mark is a - Answer- 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- WriteLine() Which of the following is a class? a. System b. Console c. void d. WriteLine() - Answer- b. Console In C#, a container that groups similar classes is a(n) - Answer- 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 - Answer- a. header and body Which of the following is a method?
Geschreven voor
- Instelling
- ISDS 505
- Vak
- ISDS 505
Documentinformatie
- Geüpload op
- 18 maart 2024
- Aantal pagina's
- 4
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
isds 505 midterm 1 chapter 1 a first c program la