Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

ISDS 505 – Exam 1 Questions and Correct Answers | C# Programming and Logic | 2025/2026 | Complete Practice Set

Rating
-
Sold
-
Pages
44
Grade
A+
Uploaded on
02-05-2025
Written in
2024/2025

This document contains a fully graded and updated collection of multiple-choice and short-answer questions with correct answers for ISDS 505 Exam 1. It covers foundational topics in C# programming including variables, data types, control structures, object-oriented programming (OOP), GUI components, arrays, loops, method declarations, and logical operations. This resource is ideal for students preparing for exams in introductory programming or C# development.

Show more Read less
Institution
ISDS 505
Course
ISDS 505

Content preview

1 | Page


ISDS 505 Exam 1 Questions and Correct Answers/
Latest Update / Already Graded
Which of the following is NOT a valid C# identifier

Select one:

a. _order

b. a

c. this

d. a1

Ans: c. this


What is NOT considered a keyword by the C# language?

Select one:

a. catch

b. global

c. implicit

d. static

Ans: 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



© 2025/ 2026 | ® All rights reserved

, 2 | Page

c. instance

d. polymorphism

Ans: d. polymorphism


in "using System;", what is "System" referring to?

Select one:

a. class

b. variable

c. namespace

d. method

Ans: 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

Ans: a. animal and bear


What is the value of the expression 3+4*2 ?

Select one:

a. 10



© 2025/ 2026 | ® All rights reserved

, 3 | Page

b. 11

c. 5

d. 14

Ans: b. 11


What is the value of 5>=3?

Select one:

a. 1

b. 0

c. false

d. true

Ans: 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

Ans: a. string


Assume you have a variable declared as int var1=5; What is the value of 27%var1
?

Select one:

© 2025/ 2026 | ® All rights reserved

, 4 | Page

a. 5

b. 2

c. 4

d. 0

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

Ans: 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



© 2025/ 2026 | ® All rights reserved

Written for

Institution
ISDS 505
Course
ISDS 505

Document information

Uploaded on
May 2, 2025
Number of pages
44
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$14.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
Expert1 Chamberlian School of Nursing
Follow You need to be logged in order to follow users or courses
Sold
60
Member since
1 year
Number of followers
3
Documents
7581
Last sold
5 hours ago
Expert1

Welcome to Expert1 – Your Trusted Study Partner! Struggling to prepare for exams or ace your coursework? At Expert1, I provide top-tier, exam-ready study materials designed to help you succeed with confidence. All notes are created with clarity, precision, and a deep understanding of the curriculum to ensure you save time and score high. What You’ll Find Here: High-quality summaries and exam packs Past paper solutions with detailed explanations Notes aligned with your syllabus (A-levels, university, etc.) Resources from top-performing students Trusted by hundreds of students to boost their grades!

Read more Read less
4.4

7 reviews

5
6
4
0
3
0
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions