للمزيد زورونا على موقعنا الإلكتروني:

Slides:



Advertisements
Similar presentations
Midterm 26 March 2015 (4:30-5:30 pm) – Rm5620 Closed book exam MC Questions only x25 Up to L(7) Methods Scope: video lectures (+Lab), forum discussions,
Advertisements

Practical Programming COMP153-08S Lecture: Repetition Continued.
Making a cartoon or slideshow. Aside VB comments An apostrophe starts a comment to end of line Some of the following slides have code with comments in.
Compunet Corporation Programming with Visual Studio.NET GUI Week 13 Tariq Aziz and Kevin Jones.
VB.NET Database Tools ISYS Net Applications OLE DB Provider OLE DB Data Source OLE DB Provider ODBC Data Source SQL Server Data Source SQL Server.Net.
Multiple Forms & Procedures. Form Methods: –Show, Hide, Activate, Close Events: –Load, Activated, Closing, Closed.
VB.NET Database Tools ISYS 573. Microsoft Universal Data Access ODBC: Open Database Connectivity –A driver manager –Used for relational databases OLE.
More on lists, exceptions, loops and validation. You can use the exception to indicate the error that occurred Private Sub btnCheck_Click(ByVal sender.
الحلقات for For i =1 To x step -2 …………. Next DO while (شرط) …………. Loop DO …………. Loop while (شرط) الحلقة Do while.
1 INF110 Visual Basic Programming AUBG Spring semester 2011 Reference books: Schneider D., An Introduction to Programming Using Visual Basic, Prentice.
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
Directory and File. Access Files in a Directory Name space: System.IO The Directory and File classes contain only shared methods that set or return information.
Printer & Dialog boxes Engr. Faisal ur Rehman CE-105T Spring 2007.
Plus Series DLL Introduction. DLL Compare for Plus Series DLL Item EZ2000.dllEZWeb.dll (for.Net) OS supportWindow 98 or latest (32bits) Windows 98 or.
1 Κατανεμημένες Διαδικτυακές Εφαρμογές Πολυμέσων Γιάννης Πετράκης.
Lecture 8 Visual Basic (2).
COMPUTER PROGRAMMING I Objective 7.03 Apply Built-in Math Class Functions.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 4 Working with Variables, Constants, Data Types, and Expressions.
1/31 5/6/2014 BAZELE PROGRMARII PE OBIECTE PROIECTE IN VISUAL BASIC Conf univ dr Botezatu Cezar INFORMATICĂ MANAGERIALĂ Anul I. STUDII DE LICENŢĂ.
1 CC111 Lec9 : Visual Basic Visual Basic (3) Lecture 9.
VB Procedures. Procedures. Sub procedure: Private/Public Sub SubName(Arguments) … End Sub Private: Can only be accessed by procedures in the same form.
Visual Basic.NET Windows Forms Hello World Homework Assignment.
1 COMP3100e Developing Microsoft.Net Applications for Windows (Visual Basic.Net) Class 6 COMP3100E.
CS0004: Introduction to Programming Project 1 – Lessons Learned.
6c – Function Procedures Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
BEGINNING PROGRAMMING.  Literally – giving instructions to a computer so that it does what you want  Practically – using a programming language (such.
PseudocodeFORTRAN (original) INPUT number INPUT divisor intermediate = divisor intermediate
4-1 Chapter 4 The Selection Process in VB.NET. 4-2 Learning Objectives Understand the importance of the selection process in programming. Describe the.
PSU CS 106 Computing Fundamentals II VB Declarations HM 5/4/2008.
PRACTICE SAC 1 Some solutions. 'inputs 'sale price 'postcode 'coupon codes 'processing 'calculate commissions (commission based on cost) 'calculate postage.
Created by Alia Al-Abdulkarim 2008 Visual Basic Vs. Java.
6b – Sub Procedure With Parameters Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Using ADO.Net to Build a Login System Dr. Ron Eaglin.
A: A: double “4” A: “34” 4.
Practical Programming COMP153-08S Lecture: Repetition.
ADO.NET Objects Data Adapters Dr. Ron Eaglin. Agenda Builds on Information in Part I Should have working knowledge of creating a database connection Continuation.
Introduction to VB programming Dr. John P. Abraham UTPA Chapters 2 & 3.
Subs and Functions Ch 6. Introduction VB.NET Procedures Sub Procedures Function Procedures Outline.
MIC305 Week 6 Beyond controls Review of properties Differences with VB6: using classes and instances Programming constructs.
Addison Wesley is an imprint of © 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 3 Variables and Calculations.
T HE W ALKING FOR W ATER P ROJECT IE 2060 Katelyn Cockrell Alexis Duran Theresa Garcia.
These materials where developed by Martin Schray. Please feel free to use and modify them for non-commercial purposes. If you find them useful or would.
Introduction to Computer CC111 Week 10 Visual Basic 3 1.
Visual Basic Declaring Variables Dim x as Integer = 0 In the statement above, x is being declared as an Integer (whole number) and is initialised.
Computer Science Up Down Controls, Decisions and Random Numbers.
Directory and File. Access Files in a Directory Name space: System.IO The Directory and File classes contain only shared methods that set or return information.
Data Types. Visual Basic provides data type Single for storing single-precision floating-point numbers. Data type Double requires more memory to store.
Use TryParse to Validate User Input
Visual Basic Fundamental Concepts
UNIT 5 Lesson 15 Looping.
Objective 7.03 Apply Built-in Math Class Functions
Chapter 9 S. NandaGopalan, BIT
Data Types, Arithmetic Operations
Use TryParse to Validate User Input
Visual Basic 2010 Winsock이용
Introduction to VB programming
TreeView Control.
Review Operation Bingo
Visual Basic..
Boolean Expressions and If statements
البرمجة بلغة الفيجول بيسك ستوديو
البرمجة بلغة فيجول بيسك ستوديو
1.الدوال Function 2.الاجراءاتSub Procedure 3.وحده نمطيه Add Module
Input and Output.
VB.Net Introduction.
Lesson Objectives Aims Key Words
Nate Brunelle Today: Conditional Decision Statements
Input and Output Chapter 3.5
GUI Programming in Visual Studio .NET
Web Service.
Presentation transcript:

للمزيد زورونا على موقعنا الإلكتروني: محاضرات في البرمجة المحاضرة الأولى القسم العملي للمزيد زورونا على موقعنا الإلكتروني: CivTeam.wordpress.com

المقدمة النظرية مقدمة عامة الخوارزميات و طرق عرضها المخططات التدفقية لغات البرمجة و علاقتها بلغة الآلة و اللغة البشرية أنواع لغات البرمجة البنية العامة للبرنامج خطوات بناء البرنامج

المقدمة النظرية فكرة الترجمة على مرحلتين في vb.net تطبيقات الكونسول و تطبيقات الويندوز المتحولات و أنواعها (أنواع المعطيات) و عمر المتحول و طرق تعريف المتحولات الأحداث الصفوف و الأغراض الخصائص و الوظائف فضاء الأسماء الحل و المشروع

الخوارزميات و الطرق عرضها طريقة العرض بكتابة التعليمات على أسطر متتالية كتابة عادية طريقة المخطط التدفقي البداية إقرأ العددين a و b إجمع العددين إطبع النتائج النهاية

عمليات معالجة المعطيات المخططات التدفقية البداية و النهاية END START إدخال و إخراج المعطيات Input / Output عمليات معالجة المعطيات Process Decision نقاط اختبار الشروط و اتخاذ القرار Decision

لغات البرمجة و علاقتها بلغة الآلة و اللغة البشرية لغة البرمجة اللغة البشرية

أنواع لغات البرمجة حسب طريقة الترجمة إلى لغة الآلة حسب بنية لغة البرمجة لغات البرمجة بالمقاطعة Interrupt Programming Languages لغات البرمجة بالترجمة Compliant Programming Languages لغات البرمجة الإجرائية Procedural Programming Language لغات البرمجة غرضية التوجه Object Oriented Programming Language

البنية العامة للبرنامج الدخل المعطيات التي يحتاج إليها النظام ليبدأ عمله النظام العلاقات الحسابية و المنطقية بين متحولات و ثوابت الدخل و الخرج الخرج المعطيات التي يجب على النظام ان ينتجها

فهم الفكرة التحليل كتابة الخوارزمية كتابة الكود التجريب الأولي خطوات بناء البرنامج فهم الفكرة التحليل كتابة الخوارزمية كتابة الكود التجريب الأولي تصحيح الأخطاء التجريب النهائي التوزيع

+/–1.7E308 with at least 15 digits of precision المتحولات و أنواعها (أنواع المعطيات) و عمر المتحول و طرق تعريف المتحولات المجال رمزة نوع المتحول 0 - 255   صحيح byte 2147483647+/– % Integer 32767 +/– Int16 Int32 9.2 E+18 to 9.2 E-17 Int64 9.2 E+18 to 9.2 E-18 & صحيح طويل Long -3.4028235E+38 through -1.401298E-45 ! حقيقي Single +/–1.7E308 with at least 15 digits of precision # حقيقي دقة مضاعفة Double حرف 65500 $ نصي String True - False منطقي Boolean متنوع Variant

Dim a As Int16 Dim b As Int32 Dim c As Int64 Dim d As Double Dim f As String Dim g As Boolean Dim a1, b1 As Double Dim a2 As Boolean, b2 As String Dim c1 As Int16 = 5 Dim st As String = "Hello” Const dd As String = "Hi” Public w As Double

الأحداث أحداث الماوس (Click, DoubleClick, MouseDown, … ) أحداث الكيبورد ( KeyPress, KeyUp,… ) أحداث أخرى ( Load, LostFocus,… ) Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

المخطط التدفقي لخوارزمية جمع عددين START إدخال العددين المطلوب جمعهما جمع العددين إخراج النتيجة Read a,b c=a+b Print c END

الكود في تطبيق كونسول console application Sub Main() Dim a, b, c As Double Console.WriteLine("Enter the first number") a = Console.ReadLine Console.WriteLine("Enter the second number") b = Console.ReadLine c = a + b Console.WriteLine(c) Console.WriteLine("Press any key to exit") Console.ReadLine() End Sub

الكود في تطبيق ويندوز windows application في حدث التحميل للفورم Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim a, b, c As Double a = InputBox("Enter the first number") b = InputBox("Entrer the second number") c = a + b MsgBox(c) End Sub

الكود في تطبيق ويندوز windows application في حدث النقر على زر الأمر Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a, b, c As Double a = InputBox("Enter the first number") b = InputBox("Entrer the second number") c = a + b MsgBox(c) End Sub

المخطط التدفقي لخوارزمية القيمة المطلقة لعدد START Read a a < 0 c = a c = - a Print c END

كود القيمة المطلقة في تطبيق ويندوز windows application في حدث النقر على زر الأمر Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a, c As Double a = InputBox("Enter the number") If a < 0 Then c = -a Else c = a End If MsgBox(c) End Sub