Search Header Logo
C# Proggraming

C# Proggraming

Assessment

Presentation

Professional Development, Computers

7th - 12th Grade

Practice Problem

Medium

Created by

DevCode :exe

Used 13+ times

FREE Resource

8 Slides • 5 Questions

1

C# Proggraming

Created by DevCode:exe

Slide image

2

Subscribe to DevCode:exe

https://www.youtube.com/channel/UCiGtldcp1D82x6ha_9Us24Q

3

3 Types Of Variables

1. String = string (code use)

2. Boolean = bool (code use)

3. Integers = int (code use)

4

Multiple Choice

WHICH OF THE FOLLOWING IS CORRECT:

1

String = string

2

Integer = Intg

3

Boolean = Bolean

5

Variables Uses

1. string name = ("Name"); (String Type)

2. int number = 20; (Integer Type)

3. bool yesorno = true; (Boolean Type)

6

Assignment Operators

  • + (Addition)

  • - (Substraction)

  • / (Division)

  • * (Multiplication)

7

Fill in the Blank

What is the result from: Console.WriteLine(value1 + value2);


-int value1 = 20
-int value2 = 50

8

Fill in the Blank

What is the result from: Console.WriteLine(value1 - value2);


-int value1 = 20
-int value2 = 50

9

Comparison Operators

  • += Addition Equals To

  • -= Substract Equals To

  • *= Multiplication Equals To

  • /- Division Equals To

  • ++ Increment

  • -- Decrement

10

Fill in the Blank

What is the value of value1:



value1 += value2
-int value1 = 40
-int value2 = 80

11

Fill in the Blank

What is the value of value1:



value1 /= value2
-int value1 = 40
-int value2 = 80

12

Logical Operators

  • && (and)

  • || (or)

  • ! (not)

13

If Statements

  • If = if (condition)

  • Else If = else if (condition)

  • Else = else

C# Proggraming

Created by DevCode:exe

Slide image

Show answer

Auto Play

Slide 1 / 13

SLIDE