C#: Conditional Statements, Loops, and Arrays

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 28

flashcard set

Earn XP

Description and Tags

If Else, Switch, While Loop, For Loop, Break/Continue

29 Terms

1

Name two advantages that OOP has over procedural programming.

OOP…

  • is faster to execute

  • provides clear structure for programs

  • makes C# code easy to maintain, modify, and debug

  • makes it easy to reuse code/applications w/ less code & less development time

New cards
2

Briefly explain the overall difference b/w procedural programming & object-oriented programming.

Procedural Programming

  • Writing procedures or methods that perform operations on data

OOP

  • Creating objects that contain methods & data

New cards
3

Define “Class” & “Object” in a simple manner.

Class —> template for objects

Object —> instance of a class

New cards
4

When an object is created, it __________ all of the _______ & ________ of its class.

When an object is created, it inherits all of the variables & methods of its class.

New cards
5

T or F: Everything in C# is associated w/ classes & objects, along with its attributes & methods.

True

New cards
6

How do you create a class?

Using the keyword ‘class’

New cards
7

When a variable is declared directly in a class (

New cards
8
New cards
9
New cards
10
New cards
11
New cards
12
New cards
13
New cards
14
New cards
15
New cards
16
New cards
17
New cards
18
New cards
19
New cards
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards
25
New cards
26
New cards
27
New cards
28
New cards
29
New cards

Explore top notes

note Note
studied byStudied by 29 people
400 days ago
5.0(1)
note Note
studied byStudied by 41 people
282 days ago
5.0(1)
note Note
studied byStudied by 6 people
882 days ago
5.0(1)
note Note
studied byStudied by 14 people
829 days ago
5.0(2)
note Note
studied byStudied by 12 people
64 days ago
4.0(2)
note Note
studied byStudied by 12 people
904 days ago
5.0(1)
note Note
studied byStudied by 10 people
1008 days ago
5.0(1)
note Note
studied byStudied by 275 people
681 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 29 people
662 days ago
5.0(1)
flashcards Flashcard (259)
studied byStudied by 38 people
45 days ago
5.0(1)
flashcards Flashcard (111)
studied byStudied by 4 people
823 days ago
5.0(1)
flashcards Flashcard (143)
studied byStudied by 151 people
756 days ago
3.8(10)
flashcards Flashcard (72)
studied byStudied by 6 people
253 days ago
5.0(2)
flashcards Flashcard (164)
studied byStudied by 93 people
39 days ago
5.0(2)
flashcards Flashcard (24)
studied byStudied by 10 people
739 days ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 2761 people
417 days ago
4.8(33)
robot