SlideShare a Scribd company logo
1 of 4
Download to read offline
Computer – Third Prep. – Second term
Chapter One
Representation of data
First Question:
Complete
Youssef wanted to calculate area of a circle so h wrote the following
program:
Const Pi As Single = 3.14
Dim R As Single
Dim Area As Double
R = 1000
Area = Pi * R * R
MsgBox( Area )
1. Youssef used the numeric variable R of type … to store the value ….
2. He used also numeric constant … of the data type single to store the
value ….
3. Youssef used the numeric variable … of data type …to store … which
is equal to Pi*R2
.
4. Numeric variable was declared using the keyword (Dim), the constant
Pi was declared using the keyword ….
1 Single 1000
2 Pi 3.14
3 Area Double
Second question:
Choose the correct answer:
(Dim, Const, String, Single)
1. Khaled wanted to calculate total grade of a student so he declared
numeric variables using the word…
2. He used a variable of data type …. To store student name.
3. He used a variable of data type… to store the total grade.
1 2 3
Dim String Single
Question three:
Choose the correct Answer:
1. The numeric variable that stores only whole numbers from 0 – 255
is of data type (Byte – Integer – String)
2. A variable of type (Boolean – Integer – String) stores the values
truefalse.
3. To store a digit with decimal points(fractions) we use a variable of
data type (Integer – Short – Single).
4. To store whole numbers only we use a variable of data type
(Single – Double Integer).
5. One of the variable naming rules is that the name has
( to start with 9Digit – Letter – Any symbol).
6. The word (Dim – Const – End) is used to declare variables.
7. The word (Dim – Const – End) is used to declare constants in a
program.
8. The command (Const/As – Din/As – Try/Catch) to discover
program errors and to deal with it.
9. On executing the equation (4*3+2), the result will be (9 - 20 - 14).
10.The result of the arithmetic operation (2^3+1) is (10 – 16 – 9).
1 2 3 4 5 6 7 8 9 10
Byte Boolean Single Integer Letter Dim Const TryCatch 14 9
Fourth Question:
Put () or (X):
1. Data stores that can change their values during program execution are
called variables ( )
2. Data stores that can change values during program execution are
called constants
( ).
3. Variable of type integer can store whole numbers from 0 to 255 ( ).
4. Variables of data type byte stores whole numbers from 0 to 255 ( ).
5. Boolean variables stores the values “true” or “false” ( ).
6. To store fractional numeric values we use types Integer or Short ( ).
7. To store numeric values with fractions we use the data types Double
or Single ( ).
8. One of the variable naming rules is to start the name with a letter ( ).
9. The words (Dim, Integer or Double) can be used as variable names
( ).
10.The word “Dim” is used to declare variables inside the program ( ).
11.The word “Const” is used to declare constants inside the program ( ).
12.Commands (Try/Catch) are used to discover and deal with program
errors ( ).
13.From Precedence rules is Addition precedes division on program
execution ( ).
14.From Precedence operation is that multiplication operation precedes
subtraction operation on program execution ( ).
15.Executing Brackets precedes other operation on program execution ( ).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
 x x   x   x  x  x  

More Related Content

What's hot (20)

Input processing and output in Python
Input processing and output in PythonInput processing and output in Python
Input processing and output in Python
 
C Programming Assignment
C Programming AssignmentC Programming Assignment
C Programming Assignment
 
C programming part4
C programming part4C programming part4
C programming part4
 
Assignment c programming
Assignment c programmingAssignment c programming
Assignment c programming
 
C programming session 11
C programming session 11C programming session 11
C programming session 11
 
Lesson 17. Pattern 9. Mixed arithmetic
Lesson 17. Pattern 9. Mixed arithmeticLesson 17. Pattern 9. Mixed arithmetic
Lesson 17. Pattern 9. Mixed arithmetic
 
Python
PythonPython
Python
 
Pointers
PointersPointers
Pointers
 
C language
C languageC language
C language
 
JAVA PROGRAMMING : Data types
JAVA PROGRAMMING : Data typesJAVA PROGRAMMING : Data types
JAVA PROGRAMMING : Data types
 
C programming session 07
C programming session 07C programming session 07
C programming session 07
 
C interview-questions-techpreparation
C interview-questions-techpreparationC interview-questions-techpreparation
C interview-questions-techpreparation
 
Programming construction tools
Programming construction toolsProgramming construction tools
Programming construction tools
 
C programming session 05
C programming session 05C programming session 05
C programming session 05
 
Strings-Computer programming
Strings-Computer programmingStrings-Computer programming
Strings-Computer programming
 
Data type in c
Data type in cData type in c
Data type in c
 
[ITP - Lecture 04] Variables and Constants in C/C++
[ITP - Lecture 04] Variables and Constants in C/C++[ITP - Lecture 04] Variables and Constants in C/C++
[ITP - Lecture 04] Variables and Constants in C/C++
 
Data Handling
Data HandlingData Handling
Data Handling
 
Cpu-fundamental of C
Cpu-fundamental of CCpu-fundamental of C
Cpu-fundamental of C
 
Getting started with c++
Getting started with c++Getting started with c++
Getting started with c++
 

Viewers also liked

نماذج أسئلة مراجعة للصف الثالث الإعدادي
نماذج أسئلة مراجعة للصف الثالث الإعدادينماذج أسئلة مراجعة للصف الثالث الإعدادي
نماذج أسئلة مراجعة للصف الثالث الإعداديHanaa Ahmed
 
أسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثاني
أسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثانيأسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثاني
أسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثانيHanaa Ahmed
 
الفصل الأول البيانات بالكامل الترم الثانى
الفصل الأول  البيانات بالكامل الترم الثانى الفصل الأول  البيانات بالكامل الترم الثانى
الفصل الأول البيانات بالكامل الترم الثانى Hanaa Ahmed
 
( التيرم الثانى فى الصف الثالث الإعدادى حاسب آلى (حلول أسئلة واختبارات الكتاب
 ( التيرم  الثانى فى الصف الثالث الإعدادى  حاسب آلى (حلول أسئلة واختبارات الكتاب ( التيرم  الثانى فى الصف الثالث الإعدادى  حاسب آلى (حلول أسئلة واختبارات الكتاب
( التيرم الثانى فى الصف الثالث الإعدادى حاسب آلى (حلول أسئلة واختبارات الكتابHanaa Ahmed
 
مذكرة الترم الثانى
مذكرة الترم الثانىمذكرة الترم الثانى
مذكرة الترم الثانىHanaa Ahmed
 
الفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميل
الفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميلالفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميل
الفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميلAmin Alam
 
الفصل الثانى
الفصل الثانىالفصل الثانى
الفصل الثانىHanaa
 
حاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتي
حاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتيحاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتي
حاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتيملزمتي
 
الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...
الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...
الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...Hanaa Ahmed
 

Viewers also liked (15)

Prep3 computer midterm revision
Prep3 computer midterm revisionPrep3 computer midterm revision
Prep3 computer midterm revision
 
نماذج أسئلة مراجعة للصف الثالث الإعدادي
نماذج أسئلة مراجعة للصف الثالث الإعدادينماذج أسئلة مراجعة للصف الثالث الإعدادي
نماذج أسئلة مراجعة للصف الثالث الإعدادي
 
أسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثاني
أسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثانيأسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثاني
أسئلة وإجابتها علي منهج الصف الثالث الاعدادي فصل دراسي ثاني
 
الفصل الأول البيانات بالكامل الترم الثانى
الفصل الأول  البيانات بالكامل الترم الثانى الفصل الأول  البيانات بالكامل الترم الثانى
الفصل الأول البيانات بالكامل الترم الثانى
 
Prep2 computer midterm revision
Prep2 computer midterm revisionPrep2 computer midterm revision
Prep2 computer midterm revision
 
Prep 3 mid term1
Prep 3 mid term1 Prep 3 mid term1
Prep 3 mid term1
 
( التيرم الثانى فى الصف الثالث الإعدادى حاسب آلى (حلول أسئلة واختبارات الكتاب
 ( التيرم  الثانى فى الصف الثالث الإعدادى  حاسب آلى (حلول أسئلة واختبارات الكتاب ( التيرم  الثانى فى الصف الثالث الإعدادى  حاسب آلى (حلول أسئلة واختبارات الكتاب
( التيرم الثانى فى الصف الثالث الإعدادى حاسب آلى (حلول أسئلة واختبارات الكتاب
 
Final 3rd Prep
Final 3rd PrepFinal 3rd Prep
Final 3rd Prep
 
مذكرة الترم الثانى
مذكرة الترم الثانىمذكرة الترم الثانى
مذكرة الترم الثانى
 
الفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميل
الفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميلالفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميل
الفصل الثاني (التفرع ) للصف الثالث الاعدادي للتحميل
 
الفصل الثانى
الفصل الثانىالفصل الثانى
الفصل الثانى
 
حاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتي
حاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتيحاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتي
حاسب الألي للصف الثالث الإعدادي 2017 - موقع ملزمتي
 
50 exams 1p s2
50 exams 1p s250 exams 1p s2
50 exams 1p s2
 
Computer generation
Computer generationComputer generation
Computer generation
 
الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...
الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...
الرسالة كاملة"فاعلية استراتيجية على استخدام الشبكات الاجتماعية لتنمية التحصيل...
 

Similar to Computer

Lecture_01.2.pptx
Lecture_01.2.pptxLecture_01.2.pptx
Lecture_01.2.pptxRockyIslam5
 
OverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxOverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxgerardkortney
 
Aae oop xp_05
Aae oop xp_05Aae oop xp_05
Aae oop xp_05Niit Care
 
C programming perso notes
C programming perso notesC programming perso notes
C programming perso notesMelanie Tsopze
 
Visual Basic Review - ICA
Visual Basic Review - ICAVisual Basic Review - ICA
Visual Basic Review - ICAemtrajano
 
Python breakdown-workbook
Python breakdown-workbookPython breakdown-workbook
Python breakdown-workbookHARUN PEHLIVAN
 
Basic c# cheat sheet
Basic c# cheat sheetBasic c# cheat sheet
Basic c# cheat sheetAhmed Elshal
 
Python Programming Module 3 (2).pdf
Python Programming Module 3 (2).pdfPython Programming Module 3 (2).pdf
Python Programming Module 3 (2).pdfThanmayee S
 
CIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and VariablesCIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and VariablesHamad Odhabi
 
DITEC - Programming with C#.NET
DITEC - Programming with C#.NETDITEC - Programming with C#.NET
DITEC - Programming with C#.NETRasan Samarasinghe
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01Wingston
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basicsrobertbenard
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basicsrobertbenard
 
02. Data Types and variables
02. Data Types and variables02. Data Types and variables
02. Data Types and variablesIntro C# Book
 
Beginner C++ easy slide and simple definition with questions
Beginner C++ easy slide and simple definition with questions Beginner C++ easy slide and simple definition with questions
Beginner C++ easy slide and simple definition with questions khawajasharif
 

Similar to Computer (20)

Lecture_01.2.pptx
Lecture_01.2.pptxLecture_01.2.pptx
Lecture_01.2.pptx
 
Numerical data.
Numerical data.Numerical data.
Numerical data.
 
3.5
3.53.5
3.5
 
OverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxOverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docx
 
Aae oop xp_05
Aae oop xp_05Aae oop xp_05
Aae oop xp_05
 
C programming perso notes
C programming perso notesC programming perso notes
C programming perso notes
 
Visual Basic Review - ICA
Visual Basic Review - ICAVisual Basic Review - ICA
Visual Basic Review - ICA
 
Python breakdown-workbook
Python breakdown-workbookPython breakdown-workbook
Python breakdown-workbook
 
Basic c# cheat sheet
Basic c# cheat sheetBasic c# cheat sheet
Basic c# cheat sheet
 
C# basics
C# basicsC# basics
C# basics
 
Python Programming Module 3 (2).pdf
Python Programming Module 3 (2).pdfPython Programming Module 3 (2).pdf
Python Programming Module 3 (2).pdf
 
CIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and VariablesCIS 1403 Lab 2- Data Types and Variables
CIS 1403 Lab 2- Data Types and Variables
 
C++ lecture 01
C++   lecture 01C++   lecture 01
C++ lecture 01
 
DITEC - Programming with C#.NET
DITEC - Programming with C#.NETDITEC - Programming with C#.NET
DITEC - Programming with C#.NET
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basics
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basics
 
02. Data Types and variables
02. Data Types and variables02. Data Types and variables
02. Data Types and variables
 
Beginner C++ easy slide and simple definition with questions
Beginner C++ easy slide and simple definition with questions Beginner C++ easy slide and simple definition with questions
Beginner C++ easy slide and simple definition with questions
 
pythonQuick.pdf
pythonQuick.pdfpythonQuick.pdf
pythonQuick.pdf
 

More from Hanaa Ahmed

الفصل الثالث
الفصل الثالثالفصل الثالث
الفصل الثالثHanaa Ahmed
 
تدربيات الفصل الثانى
تدربيات الفصل الثانىتدربيات الفصل الثانى
تدربيات الفصل الثانىHanaa Ahmed
 
الفصل الرابع
الفصل الرابعالفصل الرابع
الفصل الرابعHanaa Ahmed
 
الفصل الخامس
الفصل الخامسالفصل الخامس
الفصل الخامسHanaa Ahmed
 
C. V Hanaa Ahmed
C. V Hanaa AhmedC. V Hanaa Ahmed
C. V Hanaa AhmedHanaa Ahmed
 
الفصل الأول فى الصف الأول الأعد
الفصل الأول فى الصف الأول الأعدالفصل الأول فى الصف الأول الأعد
الفصل الأول فى الصف الأول الأعدHanaa Ahmed
 
الفصل السادس
الفصل السادسالفصل السادس
الفصل السادسHanaa Ahmed
 
مذكرة الترم الثانى الاكسيل
مذكرة الترم الثانى الاكسيل مذكرة الترم الثانى الاكسيل
مذكرة الترم الثانى الاكسيل Hanaa Ahmed
 
الفصل السادس
الفصل السادسالفصل السادس
الفصل السادسHanaa Ahmed
 
الفصل الخامس
الفصل الخامسالفصل الخامس
الفصل الخامسHanaa Ahmed
 
الفصل الرابع
الفصل الرابعالفصل الرابع
الفصل الرابعHanaa Ahmed
 
الفصل الثالث
الفصل الثالثالفصل الثالث
الفصل الثالثHanaa Ahmed
 
الاكسيل الفصل الثانى
الاكسيل الفصل الثانىالاكسيل الفصل الثانى
الاكسيل الفصل الثانىHanaa Ahmed
 
ماهية برنامج الإكسيل
ماهية برنامج الإكسيلماهية برنامج الإكسيل
ماهية برنامج الإكسيلHanaa Ahmed
 
الصف الثانى الاعدادى ترم تانى هناء
الصف الثانى الاعدادى ترم تانى هناءالصف الثانى الاعدادى ترم تانى هناء
الصف الثانى الاعدادى ترم تانى هناءHanaa Ahmed
 
الدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانى
الدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانىالدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانى
الدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانىHanaa Ahmed
 
تحضير المنهج الصف الثالث ترم تانى
تحضير المنهج الصف الثالث ترم تانىتحضير المنهج الصف الثالث ترم تانى
تحضير المنهج الصف الثالث ترم تانىHanaa Ahmed
 
حاسب الى 3 ع ملخص الترم الثانى
حاسب الى 3 ع ملخص الترم الثانى حاسب الى 3 ع ملخص الترم الثانى
حاسب الى 3 ع ملخص الترم الثانى Hanaa Ahmed
 
الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005
الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005
الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005Hanaa Ahmed
 

More from Hanaa Ahmed (20)

الفصل الثالث
الفصل الثالثالفصل الثالث
الفصل الثالث
 
2
22
2
 
تدربيات الفصل الثانى
تدربيات الفصل الثانىتدربيات الفصل الثانى
تدربيات الفصل الثانى
 
الفصل الرابع
الفصل الرابعالفصل الرابع
الفصل الرابع
 
الفصل الخامس
الفصل الخامسالفصل الخامس
الفصل الخامس
 
C. V Hanaa Ahmed
C. V Hanaa AhmedC. V Hanaa Ahmed
C. V Hanaa Ahmed
 
الفصل الأول فى الصف الأول الأعد
الفصل الأول فى الصف الأول الأعدالفصل الأول فى الصف الأول الأعد
الفصل الأول فى الصف الأول الأعد
 
الفصل السادس
الفصل السادسالفصل السادس
الفصل السادس
 
مذكرة الترم الثانى الاكسيل
مذكرة الترم الثانى الاكسيل مذكرة الترم الثانى الاكسيل
مذكرة الترم الثانى الاكسيل
 
الفصل السادس
الفصل السادسالفصل السادس
الفصل السادس
 
الفصل الخامس
الفصل الخامسالفصل الخامس
الفصل الخامس
 
الفصل الرابع
الفصل الرابعالفصل الرابع
الفصل الرابع
 
الفصل الثالث
الفصل الثالثالفصل الثالث
الفصل الثالث
 
الاكسيل الفصل الثانى
الاكسيل الفصل الثانىالاكسيل الفصل الثانى
الاكسيل الفصل الثانى
 
ماهية برنامج الإكسيل
ماهية برنامج الإكسيلماهية برنامج الإكسيل
ماهية برنامج الإكسيل
 
الصف الثانى الاعدادى ترم تانى هناء
الصف الثانى الاعدادى ترم تانى هناءالصف الثانى الاعدادى ترم تانى هناء
الصف الثانى الاعدادى ترم تانى هناء
 
الدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانى
الدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانىالدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانى
الدرس الأول أنواع البيانات فى منهج الصف الثالث الإعدادى الترم الثانى
 
تحضير المنهج الصف الثالث ترم تانى
تحضير المنهج الصف الثالث ترم تانىتحضير المنهج الصف الثالث ترم تانى
تحضير المنهج الصف الثالث ترم تانى
 
حاسب الى 3 ع ملخص الترم الثانى
حاسب الى 3 ع ملخص الترم الثانى حاسب الى 3 ع ملخص الترم الثانى
حاسب الى 3 ع ملخص الترم الثانى
 
الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005
الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005
الجزء العملى فى منهج الصف الثالث الإعدادى Visual Basic.Net 2005
 

Recently uploaded

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 

Recently uploaded (20)

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 

Computer

  • 1. Computer – Third Prep. – Second term Chapter One Representation of data First Question: Complete Youssef wanted to calculate area of a circle so h wrote the following program: Const Pi As Single = 3.14 Dim R As Single Dim Area As Double R = 1000 Area = Pi * R * R MsgBox( Area ) 1. Youssef used the numeric variable R of type … to store the value …. 2. He used also numeric constant … of the data type single to store the value …. 3. Youssef used the numeric variable … of data type …to store … which is equal to Pi*R2 . 4. Numeric variable was declared using the keyword (Dim), the constant Pi was declared using the keyword …. 1 Single 1000 2 Pi 3.14 3 Area Double
  • 2. Second question: Choose the correct answer: (Dim, Const, String, Single) 1. Khaled wanted to calculate total grade of a student so he declared numeric variables using the word… 2. He used a variable of data type …. To store student name. 3. He used a variable of data type… to store the total grade. 1 2 3 Dim String Single
  • 3. Question three: Choose the correct Answer: 1. The numeric variable that stores only whole numbers from 0 – 255 is of data type (Byte – Integer – String) 2. A variable of type (Boolean – Integer – String) stores the values truefalse. 3. To store a digit with decimal points(fractions) we use a variable of data type (Integer – Short – Single). 4. To store whole numbers only we use a variable of data type (Single – Double Integer). 5. One of the variable naming rules is that the name has ( to start with 9Digit – Letter – Any symbol). 6. The word (Dim – Const – End) is used to declare variables. 7. The word (Dim – Const – End) is used to declare constants in a program. 8. The command (Const/As – Din/As – Try/Catch) to discover program errors and to deal with it. 9. On executing the equation (4*3+2), the result will be (9 - 20 - 14). 10.The result of the arithmetic operation (2^3+1) is (10 – 16 – 9). 1 2 3 4 5 6 7 8 9 10 Byte Boolean Single Integer Letter Dim Const TryCatch 14 9
  • 4. Fourth Question: Put () or (X): 1. Data stores that can change their values during program execution are called variables ( ) 2. Data stores that can change values during program execution are called constants ( ). 3. Variable of type integer can store whole numbers from 0 to 255 ( ). 4. Variables of data type byte stores whole numbers from 0 to 255 ( ). 5. Boolean variables stores the values “true” or “false” ( ). 6. To store fractional numeric values we use types Integer or Short ( ). 7. To store numeric values with fractions we use the data types Double or Single ( ). 8. One of the variable naming rules is to start the name with a letter ( ). 9. The words (Dim, Integer or Double) can be used as variable names ( ). 10.The word “Dim” is used to declare variables inside the program ( ). 11.The word “Const” is used to declare constants inside the program ( ). 12.Commands (Try/Catch) are used to discover and deal with program errors ( ). 13.From Precedence rules is Addition precedes division on program execution ( ). 14.From Precedence operation is that multiplication operation precedes subtraction operation on program execution ( ). 15.Executing Brackets precedes other operation on program execution ( ). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  x x   x   x  x  x  