

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
13 questions
Loops Practice
Presentation
•
9th - 12th Grade
10 questions
The History of Video Games
Presentation
•
9th - 12th Grade
10 questions
Unit 2 Intro
Presentation
•
University
13 questions
CMU CS Academy 2.3.1 General Shape Properties
Presentation
•
9th - 12th Grade
15 questions
Tech+ 7.1 Lesson
Presentation
•
10th Grade
3 questions
Review Text - What do you like?
Presentation
•
12th Grade
17 questions
2. Struktur Data C dan Compiler
Presentation
•
11th Grade
13 questions
Traversals Practice
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade
Discover more resources for Computers
20 questions
Grammar
Quiz
•
9th - 12th Grade
31 questions
Easter Trivia
Quiz
•
KG - 12th Grade
16 questions
Circles - Equations, Central & Inscribed Angles
Quiz
•
9th - 12th Grade
46 questions
Unit 4 Geosphere Test Review
Quiz
•
9th - 12th Grade
25 questions
Early Cold War Quizziz
Quiz
•
11th Grade
10 questions
Climate Change and Its Impact
Interactive video
•
9th - 12th Grade
35 questions
Venn Diagrams, Theoretical, & Experimental Review
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade