نظرة عامة على لغة C#.NET

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

ما هي الوظيفة الأساسية للكمبيوتر وفقًا للنص؟

  • حل المشكلات المعقدة دون تدخل بشري
  • تطوير برامج جديدة وحلول مبتكرة
  • تنفيذ المهام المتكررة وفقًا لخطوات محددة (correct)
  • تحليل البيانات وتقديم التوصيات

يمكن للكمبيوتر حل المشكلات وتنفيذ المهام دون معرفة مسبقة بالخطوات التي يجب اتباعها.

False (B)

ما هو المصطلح الذي يطلق على مجموعة التعليمات التي توجه الكمبيوتر لأداء مهمة معينة؟

برنامج

الشخص الذي يقوم بكتابة التعليمات والأوامر الخاصة بالبرنامج يُعرف بـ ______.

<p>المبرمج</p> Signup and view all the answers

صل بين لغات البرمجة التالية وإستخداماتها الأساسية:

<p>Visual Basic = تطبيقات سطح المكتب Java = تطبيقات المؤسسات C# = تطوير الالعاب Delphi = برامج سطح المكتب وقواعد البيانات</p> Signup and view all the answers

ماذا يُقصد بمصطلح "Syntax" في لغات البرمجة؟

<p>قواعد كتابة الأمر في لغة البرمجة (D)</p> Signup and view all the answers

تسمح بيئة .NET باستخدام لغات برمجة مختلفة في نفس البرنامج.

<p>True (A)</p> Signup and view all the answers

اذكر ميزة واحدة لبيئة .NET.

<p>إمكانية استخدام أكثر من لغة في نفس البرنامج</p> Signup and view all the answers

يُستخدم ______ لترجمة البرنامج إلى لغة الآلة.

<p>المترجم</p> Signup and view all the answers

صل بين المصطلحات التالية بالوصف الانسب لها:

<p>Machine Language = لغة الآلة C# = لغة برمجة Compiler = مترجم</p> Signup and view all the answers

أي من الخيارات التالية يمثل إصدارًا مجانيًا من Visual Studio؟

<p>Visual C# Express Edition (A)</p> Signup and view all the answers

يجب أن يكون جهازك متصلاً بالإنترنت طوال فترة تثبيت Visual C# Express.

<p>True (A)</p> Signup and view all the answers

ما هو الغرض من مفتاح التسجيل Registration Key عند تشغيل Visual C# Express لأول مرة؟

<p>التسجيل وتفعيل البرنامج</p> Signup and view all the answers

لإنشاء مشروع جديد في C# Express، نختار الأمر "New Project" من قائمة ______.

<p>ملف</p> Signup and view all the answers

صل بين أجزاء Visual Studio ووظائفها:

<p>Solution Explorer = يعرض مكونات المشروع Properties = تغيير خصائص الأدوات Toolbox = تضم الأدوات التي نستخدمها لتكوين البرنامج</p> Signup and view all the answers

ماذا يعني الزر الذي يشبه الدبوس والذي يظهر في شريط عنوان أي مربع في نافذة التطوير؟

<p>وضع الثبات (D)</p> Signup and view all the answers

لعرض مربع الخصائص في بيئة التطوير، نضغط على F4 من لوحة المفاتيح.

<p>True (A)</p> Signup and view all the answers

ما هو الغرض من النافذة Form في تصميم البرامج؟

<p>تحمل أدوات البرنامج</p> Signup and view all the answers

يحتوي صندوق الأدوات Toolbox على مجموعة تسمى ______ للادوات

<p>عناصر التحكم</p> Signup and view all the answers

صل بين الأدوات والوظيفة.

<p>Button = زر أمر textbox = النص يمكن تعديله label = اظهار العناويين</p> Signup and view all the answers

أي من الأدوات التالية تستخدم لإدخال البيانات من قبل مستخدم البرنامج؟

<p>TextBox (D)</p> Signup and view all the answers

الأداة Label تسمح للمستخدم بتعديل محتوياتها أثناء تشغيل البرنامج.

<p>False (B)</p> Signup and view all the answers

ماذا يجب أن تفعل لوقف تشغيل البرنامج والعودة إلى نافذة التصميم؟

<p>الضغط على زر Stop من شريط الأدوات</p> Signup and view all the answers

نافذة البرنامج Form تسمى ايضا ب ______

<p>النموذج</p> Signup and view all the answers

صل بين المهام وخطوات فعلها

<p>حذف عنصر = اضغط Delete</p> Signup and view all the answers

القيمة التي تظهر بجوار كل خاصية في مربع الخصائص تمثل ماذا؟

<p>قيمة الخاصية (A)</p> Signup and view all the answers

يمكن تغيير الخصائص إلا في أثناء تشغيل البرنامح

<p>False (B)</p> Signup and view all the answers

في مربع الخصائص كيف يمكن عرض الخصائص على شكل مجموعات؟

<p>بالنقر على شريط العرض</p> Signup and view all the answers

خاصية نمط الخط هي ______

<p>font</p> Signup and view all the answers

صل خواص الكتابة بالقراءة

<p>حجم الخط = font لون الكتابة = forecolor لون الخلفية = backcolor</p> Signup and view all the answers

لتعديل النص الذي يظهر على كائن, نستخدم...

<p>Text (C)</p> Signup and view all the answers

لكي تجعل اداه غير متاحة نستخدم خاصية name

<p>False (B)</p> Signup and view all the answers

كل كائن يوجد في قائمة...

<p>الكائنات</p> Signup and view all the answers

أدوات أكثر استخداما، توجد في قائمة

<p>التحكمات العامّه</p> Signup and view all the answers

صل نوع الادوات مع بدايتها؟

<p>الزر = Btn</p> Signup and view all the answers

لتغيير اسم الاداة, نستخدم خاصية ما

<p>Name (D)</p> Signup and view all the answers

اسم الاداة يظهر للمستخدم

<p>False (B)</p> Signup and view all the answers

رمز انهاء الامر في C#

<p>;</p> Signup and view all the answers

لانشاء اتصال بين الاسم البرمجي والاسم الظاهري، نستخدم ال______[الخامسة]

<p>.</p> Signup and view all the answers

صل بين الهدف وموضع القيمة:

<p>اظهار الكائن = true</p> Signup and view all the answers

Flashcards

ما هو البرنامج؟

مجموعة تعليمات توجه الكمبيوتر لأداء عمل معين.

من هو المبرمج؟

الشخص الذي يقوم بكتابة التعليمات والأوامر الخاصة بالبرنامج.

ما هي لغات البرمجة؟

اللغة التي يستخدمها المبرمج لكتابة التعليمات المطلوب توجيهها إلى الكمبيوتر.

ما هي #C Sharp؟

لغة برمجة تجمع بين سهولة البرمجة وقوة البرمجة التي توفرها لغة ++C.

Signup and view all the flashcards

ما هي بيئة تطوير البرامج (IDE)؟

بيئة لتصميم البرامج تجمع الأدوات والأوامر الضرورية.

Signup and view all the flashcards

ما هو مستكشف المشروع (Solution Explorer)؟

المربع الذي يعرض مكونات المشروع.

Signup and view all the flashcards

ما هو مربع الخصائص (Properties)؟

نافذة تستخدم لتغيير خصائص الأدوات.

Signup and view all the flashcards

ما هي النافذة (Form)؟

النافذة التي تعمل مثل وعاء يحمل أدوات البرنامج.

Signup and view all the flashcards

ما هو صندوق الأدوات (Toolbox)؟

يحتوي على مجموعة الأدوات التي يستخدمها المبرمج لتصميم الشاشات.

Signup and view all the flashcards

ما هي الكائنات (Objects)؟

يطلق على كل عنصر من عناصر البرنامج.

Signup and view all the flashcards

ما هي المرحلة الأولى في كتابة البرنامج؟

تحديد فكرة البرنامج وتقسيمه إلى أجزاء صغيرة.

Signup and view all the flashcards

ما هي المرحلة الثانية في كتابة البرنامج؟

تصميم واجهة البرنامج وتحديد النوافذ وشكلها.

Signup and view all the flashcards

ما هي المرحلة الثالثة في كتابة البرنامج؟

ضبط خصائص الأدوات من حيث الشكل والعنوان.

Signup and view all the flashcards

ما هي المرحلة الرابعة في كتابة البرنامج؟

كتابة التعليمات المرتبطة بالأدوات.

Signup and view all the flashcards

ما هو تنفيذ او تشغيل التطبيق؟

مشاهدة ناتج تنفيذ البرنامج.

Signup and view all the flashcards

ما هي واجهة المستخدم؟

نافذة البرنامج التي يتعامل معها المستخدم.

Signup and view all the flashcards

ما هي أداة العنوان (Label)؟

أداة لعرض النصوص الثابتة والتي لا يمكن تعديلها.

Signup and view all the flashcards

ما هي أداة العنوان المرتبط (Link Label)؟

مثل اداة العنوان إلا أنها تستخدم لارتباطات تشعبية.

Signup and view all the flashcards

ما هي أداة زر الأمر (command button)؟

أداة يتم النقر عليه لتنفيذ أمر معين.

Signup and view all the flashcards

مربع النص (Textbox)؟

أداة تستخدم لعرض نص يمكن تعديله، أو لإدخال بيانات فيه.

Signup and view all the flashcards

ما هي مربع اختيار (Check box)؟

أداة يسمح بالاختيار بين حالتي نعم/لا

Signup and view all the flashcards

زر اختيار (Radiop Button)؟

لعرض مجموعة اختيارات لاختيار واحد منها فقط.

Signup and view all the flashcards

مربع مجموعة (GroupBox)؟

تعمل كحاوية لمجموعة من الأدوات الأخرى .

Signup and view all the flashcards

مربع صورة (picturebox)؟

لعرض الصور.

Signup and view all the flashcards

مربع سرد (listbox)؟

يتيح عدة اختيارات وعلى المستخدم اختيار احداها.

Signup and view all the flashcards

مربع تحرير وسرد (ComboBox)؟

يتيح أحد اختيارات قائمة منسدلة و كتابة قيمة غير موجودة. .

Signup and view all the flashcards

شريط العرض؟

لتحديد مجموعة من الخصائص بظهورها اما بمسافات او بمجموعات.

Signup and view all the flashcards

اهمية خاصية النص؟

تستعمل الخاصية بتعديل أو لتغيير النص.

Signup and view all the flashcards

ماهي خصائص الالوان

هي التحكم بتغيير الالوان او التلاعب بها

Signup and view all the flashcards

حدود الاطار؟

لتحديد إطار خاص للبرنامج او العمل الذي تقوم به.

Signup and view all the flashcards

ماهي خاصيه الاظهار؟

خاصية مفيدة لإخفاء او تعديل او ظهور التطبيق.

Signup and view all the flashcards

خاصية التمكين ؟

هي تسهل عمل البرنامج او التطبيق الذي تصممه بتسهيل مهمة للمستخدم.

Signup and view all the flashcards

خاصيه الاسم ؟

هي لتحديد اسم لكل وظيفة في البرنامج .

Signup and view all the flashcards

ايقاف اوا تفعيل المهام ؟

هي لتعديل القووائم او الشكل العام للوظائف و المهام , و تسهيلها على المستخدم.

Signup and view all the flashcards

وظيفة الادخال للمهام ؟

الادوات تتغير مع تغير وظيفة الإدخال.

Signup and view all the flashcards

وظيفة الادخال للمبر مج ؟

بتسهل للمبرمج تعديل او تضبيط او تسهيل ايقونات او مهام .

Signup and view all the flashcards

تغير اسم وظيفة .

تمكن المبرمج من تسميه كل وظيفه بشكل منفرد.

Signup and view all the flashcards

Study Notes

  • The text is a fragment of a study book about computer programming languages
  • The document focuses on C#.NET

Subject: Modern Computer Programming Languages (2) - C#.NET Lecture Notes

  • The presented material is part of a book on modern computer programming languages, specifically focusing on C#.NET
  • The covered section is an introductory lecture introducing the fundamentals of C#.NET programming

Overview of C#.NET

  • After completing this lecture, students should be able to:
  • Summarize the meaning of a program.
  • Explain the concept of programming languages.
  • Install C#.NET on their computer.
  • Distinguish the elements of the development environment in C#.NET.
  • Identify the Solution Explorer.
  • Distinguish the Properties window.
  • Summarize the use of the Solution Explorer and Properties windows.
  • Hide and show the Solution Explorer and Properties windows.
  • Summarize the function of the Form window in any application.
  • Distinguish the Toolbox and summarize its function.
  • Show and hide the Toolbox.
  • Explain the concept of Objects.
  • List the stages of writing a program.
  • Start and stop the application they are designing.

Introduction to Programming

  • Human life is full of tasks, many complex and repetitive, making it suited for computer automation
  • Computers excel at performing repetitive tasks accurately and quickly
  • Computers require explicit instructions to solve problems, hence the need for computer programming

What is a Program?

  • A program is a set of instructions directing a computer to perform a specific task, such as a calculation
  • Computers cannot act independently; they require precise instructions
  • They execute given commands sequentially without deviation

Example: Calculating a Student's Grade

  • An example is calculating a student's grade, which involves summing midterm and final exam scores

Steps

  • Define the two grades (A for midterm, B for final).

  • Define a storage location for the result (C).

  • Write the calculation: C = A + B.

  • The provided example is for a single student

  • For a class of 500, repeating the steps becomes tedious, highlighting the benefit of programming

  • The program automates the process, prompting for each student's grades and displaying results

Simplified Model:

  • Print C (Display the result)
  • C = A + B (Calculate the sum)
  • Input A, B (Enter the two grades)

Project Structure in C#.NET

  • In C#.NET, a program is called a "Project" as it may include multiple files, objects, and languages

Programmer

  • The Programmer writes the instructions and commands, also known as a Developer

Programming Languages

  • Different environments have different languages with their own grammar
  • Computer programming requires using a programming language
  • All languages consist of their own set of special commands and symbols
  • All codes together make up what are called "Program codes"

Various languages

  • There are various programming languages that include Visual Basic, C#, Delphi, Java and so on
  • The language consists of commands in English
  • Which allows programmers to be able to read commands clearly
  • The programmer needs to learn and understand the commands, as well as language's syntax
  • The synax is used to specify their meaning, and the syntactical roles

Advantages of NET environment

  • Multiple languages can be used in the same program
  • This allows the individual to take advantage of the characteristics of each language
  • The program operates independently of the operating system
  • This makes it work on various windows
  • The program does not require translation to machine language on the used device

Concepts and language

  • Various concepts are applied such as object-oriented programming(OOP)

Overview of C Sharp:

  • C Sharp is also written as C#, and is also pronounced C sharp
  • It is one of the languages supported by NET.
  • The language combines the ease of using visual basics, and the power the the C++
  • The C# has some concepts that resemble Java's and shares the benefits, and principles.

IDE (Integrated Development Environment)

  • Consists of the tools and instructions used to create a design programs, and applications before NET, visual studio had its specific language it would correspond to
  • NET languages have adopted the use of IDE (Integrated Development Environment), in this enivironment you can now simultaneously create applications in more than one language
  • The Microsoft company has developed a large number of versions of C# for designing programs, they have also created several versions for languages such as Vb.NET, and C#

Instalation Of C Sharp

  • install Express to install new C sharp programs
  • Install by opening web browser. and visiting visualstudio.com/en-us/downloads#d-2010-express
  • A number of links will be displayed, now click visual 2010 C#
  • After the page redirects click the link install Now

Programming steps

  • You will need to copy the information once registration is compelete

How to run development environment

  • press windows button (start) then click all programs, then select the visual studio from micrsoft

Layout for display

  • When the main menu is selected a page will be displayed

Layout of components

  • The display panel has different component, by each section
  • The different sections include create, close and so on
  • Open projects can be found under open Project. If you would like to create a new project make sure to select the create project

Creating new sections

  • Sections can be developed by the main page
  • Click File for New Project

Selection page

  • In this area a user can develop a variety of different projects, and software

List of different programming applications

  • There are different types of selections avaliable
  • The selections include things such Windows applications, or a Wpf program

Types of Programming;

  • Windows applications: for the function with the Windows operation system, such as excel, calculator, and others
  • Wpf application: used during web development so the programmer can have a easier access without going through direct contact to the internet

Basic program setup

  • The next box the programmer has to choose from is the windows setup, it requires the form and name for for the selected projects

Layout introduction:

  • The form is a window for the design, where the toolbox, properties, and solution explorer can be found

Toolbox overview:

  • This section has commands for the project Solution explorer section:
  • the project will be broken down into project's basic components, such the class lists

Layout properties

  • This section will cover the different properties for the solution projects

Layout navigation:

  • Each section will have an associated title, if you want to close the sections the cross bar

Display options:

  • Each section can be seen on the bar, once connected it can be moved for easier navigation

Button operations

  • Windowsform: opens once, it is an app for windows
  • Console application: it creates simple applications, and avoids need for windows

Properties

  • These functions are used when implementing the code, they appear on different components of the code

Features

  • Features will provide you with different ways on how to change colors, add images

Operations and properties

  • Can show different ways on setting it up

Toolbox tools

  • The tool box shows the names of what's being applied to the project, for example clicking label, provides you short description

Title name overview

  • Once you have connected and are planning to navigate, each corner will have a bar that tells you what the tool does

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

.NET Framework and Programming Languages Quiz
3 questions
Introduction to C# Programming Language
32 questions
Introduction to C#
43 questions

Introduction to C#

SpectacularBildungsroman1566 avatar
SpectacularBildungsroman1566
Use Quizgecko on...
Browser
Browser