

Operators in c#
Presentation
•
Computers
•
11th Grade
•
Hard

קובי זכריה
Used 3+ times
FREE Resource
5 Slides • 3 Questions
1
הוראות קלט פלט
שימוש בהוראות קלט פלט בזמן התכנות

2
הוראת פלט
Console.WriteLine(“Hello World”);
Console.Write(“Hello World”);
3
Multiple Select
מה ההבדל בין הפקודה הראשונה והשניה
אין הבדל ביניהם
בפקודה הראשונה יורדים שורה ובשניה לא
בפקודה השניה יורדים שורה ובראשונה לא
4
פתרון לשאלה
הפקודה:
Console.WriteLine(“Hello World”);
מדפיסה את המחרוזת שבסוגריים ויורדת שורה בסיום ההדפסה.
לעומתה הפקודה:
Console.Write(“Hello World”);
מדפיסה את המחרוזת שבסוגריים בלי לרדת שורה בסיום ההדפסה.
5
הוראת קלט
הוראת קלט מאפשרת לנו לקבל ערכים לתוך המשתנים שאנחנו מגדירים באמצעות התבנית הבאה:
name = name type.Parse(Console.ReadLine());
שים לב, ההנחה היא ששם המשתנה הוגדר קודם, אבל ניתן להגדיר ולקלוט באותה הפקודה.
6
דוגמאות
int num = int.Parse(Console.ReadLine());
double dnum = double.Parse(Console.ReadLine());
char ch = char.Parse(Console.ReadLine());
bool flag = bool.Parse(Console.ReadLine());
string str = Console.ReadLine();
7
Multiple Choice
מדוע לדעתכם הקליטה של המחרוזת שונה מהשאר
כי מחרוזת זה אוסף של תווים
כי מחרוזת דומה למערך
כי מחרוזת בעלת אין סוף תווים
8
Fill in the Blanks
Type answer...
הוראות קלט פלט
שימוש בהוראות קלט פלט בזמן התכנות

Show answer
Auto Play
Slide 1 / 8
SLIDE
Similar Resources on Wayground
7 questions
NARRATIVE TEXT
Presentation
•
9th Grade
8 questions
test bond with aman
Presentation
•
12th Grade
15 questions
IT Presentation and Quiz
Presentation
•
9th - 12th Grade
16 questions
APCSP Lesson 4.1 Intro to Variables
Presentation
•
9th - 12th Grade
19 questions
JavaScript introdução
Presentation
•
11th - 12th Grade
6 questions
Undefined, null, NaN
Presentation
•
KG - University
11 questions
SEO -repaso
Presentation
•
University
11 questions
Review Monday WebDev1
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Assessment 1
Quiz
•
3rd Grade
15 questions
HCS SCI 05 Summer School Assessment 1 Review
Quiz
•
5th Grade
22 questions
Day 9 Equations and Inequalities Review
Quiz
•
9th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
7 questions
PYRAMID PERSPECTIVES part 1
Presentation
•
9th - 12th Grade
12 questions
Understanding the Fourth of July
Quiz
•
9th Grade
15 questions
Soccer World Cup Quiz Questions
Quiz
•
7th Grade