Deck 13: Computer Programming

ملء الشاشة (f)
exit full mode
سؤال
In OO programming, a class is a template for a group of In OO programming, a class is a template for a group of   with similar characteristics.<div style=padding-top: 35px> with similar characteristics.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The process of passing certain characteristics from a superclass to a subclass is referred to as The process of passing certain characteristics from a superclass to a subclass is referred to as   .<div style=padding-top: 35px> .
سؤال
In a Prolog rule, the :- connecting symbol means In a Prolog rule, the :- connecting symbol means   .<div style=padding-top: 35px> .
سؤال
The declarative programming paradigm focuses on describing a(n) , whereas the procedural paradigm focuses on algorithms that describe a(n) The declarative programming paradigm focuses on describing a(n) , whereas the procedural paradigm focuses on algorithms that describe a(n)   .<div style=padding-top: 35px> .
سؤال
A Prolog attribute can be a(n) A Prolog attribute can be a(n)   , such as round (with a lowercase r ), or it can be a(n)   , such as Shape (with an uppercase S ).<div style=padding-top: 35px> , such as round (with a lowercase r ), or it can be a(n) A Prolog attribute can be a(n)   , such as round (with a lowercase r ), or it can be a(n)   , such as Shape (with an uppercase S ).<div style=padding-top: 35px> , such as Shape (with an uppercase S ).
سؤال
  code produces a digital certificate, which identifies the source of a computer program but does not verify that the program code is free of viruses and other malware.<div style=padding-top: 35px> code produces a digital certificate, which identifies the source of a computer program but does not verify that the program code is free of viruses and other malware.
سؤال
A(n) A(n)   overflow is a condition in which data in memory exceeds its expected boundaries and flows into memory areas intended for use by other data.<div style=padding-top: 35px> overflow is a condition in which data in memory exceeds its expected boundaries and flows into memory areas intended for use by other data.
سؤال
  error messages can present attackers with information about the directory location of programs or files, the structure of a database, or the layout of the program in memory.<div style=padding-top: 35px> error messages can present attackers with information about the directory location of programs or files, the structure of a database, or the layout of the program in memory.
سؤال
List and describe three types of errors that are typically found when computer programs are tested.
سؤال
Have you played violent videogames?
سؤال
Do you think that states might be able to craft legislation that limits violent videogame sales without eroding principles of free speech?
سؤال
List and describe at least eight tools other than programming languages that programmers use to create computer programs.
سؤال
Continuing with the carpet example, you devise a set of steps, or a(n) Continuing with the carpet example, you devise a set of steps, or a(n)   , to solve the problem. You then use a programming language to write the   shown below, which expresses the algorithm. Input Enter the width of the room in feet: ; width Input Enter the length of the room in feet: ; length Print Carpet needed: Print length*width  square feet Print (length*width)/9 square yards<div style=padding-top: 35px> , to solve the problem. You then use a programming language to write the Continuing with the carpet example, you devise a set of steps, or a(n)   , to solve the problem. You then use a programming language to write the   shown below, which expresses the algorithm. Input Enter the width of the room in feet: ; width Input Enter the length of the room in feet: ; length Print Carpet needed: Print length*width  square feet Print (length*width)/9 square yards<div style=padding-top: 35px> shown below, which expresses the algorithm.
Input "Enter the width of the room in feet: "; width
Input "Enter the length of the room in feet: "; length
Print "Carpet needed:"
Print length*width " square feet"
Print (length*width)/9 "square yards"
سؤال
You've just joined a programming team that is developing a Java program for an earth-moving equipment vendor. The lead programmer shows you a UML with labels such as Cranes, Trucks, and Front-end Loaders. With your background in object-oriented programming, you can tell immediately that these are You've just joined a programming team that is developing a Java program for an earth-moving equipment vendor. The lead programmer shows you a UML with labels such as Cranes, Trucks, and Front-end Loaders. With your background in object-oriented programming, you can tell immediately that these are   , which will be coded as a series of attributes, such as private string manufacturer.  <div style=padding-top: 35px> , which will be coded as a series of attributes, such as private string manufacturer.
You've just joined a programming team that is developing a Java program for an earth-moving equipment vendor. The lead programmer shows you a UML with labels such as Cranes, Trucks, and Front-end Loaders. With your background in object-oriented programming, you can tell immediately that these are   , which will be coded as a series of attributes, such as private string manufacturer.  <div style=padding-top: 35px>
سؤال
Define the term algorithm and explain how it relates to procedural programming.
سؤال
Describe how the jobs performed by computer programmers differ from the jobs performed by software engineers and systems analysts.
سؤال
Describe the differences between event-driven, procedural, object-oriented, and declarative paradigms. Provide at least one example of a language that supports each paradigm.
سؤال
Create a flowchart, structured English, and pseudocode to express the algorithm for tying your shoes.
سؤال
Computer programming Computer programming   include procedural, object-oriented, eventdriven, and declarative.<div style=padding-top: 35px> include procedural, object-oriented, eventdriven, and declarative.
سؤال
To find errors in a computer program, programmers can use a software tool called a(n) To find errors in a computer program, programmers can use a software tool called a(n)   .<div style=padding-top: 35px> .
سؤال
Give an example of a sequence control structure, a selection control structure, and a repetition control structure.
سؤال
COBOL, Fortran, and C are examples of programming languages used when working with the COBOL, Fortran, and C are examples of programming languages used when working with the   paradigm.<div style=padding-top: 35px> paradigm.
سؤال
A subroutine or procedure is a section of code that is part of a program, but is not included in the main execution path. True or false? A subroutine or procedure is a section of code that is part of a program, but is not included in the main execution path. True or false?  <div style=padding-top: 35px>
سؤال
Define the following terms associated with object-oriented programming: object, class, superclass, subclass, attribute, message, method, inheritance, polymorphism, and encapsulation.
سؤال
OO programmers often use OO programmers often use   diagrams to plan the classes for a program. (Hint: Use the abbreviation.)<div style=padding-top: 35px> diagrams to plan the classes for a program. (Hint: Use the abbreviation.)
سؤال
In an OO program, getArea() would be called a(n) In an OO program, getArea() would be called a(n)   .<div style=padding-top: 35px> .
سؤال
Define the following terms associated with the declarative paradigm: fact, rule, predicate, arguments, goal, instantiation, and backtracking.
سؤال
In the Prolog fact location(balcony,H1), balcony and H1 are In the Prolog fact location(balcony,H1), balcony and H1 are   , whereas location is referred to as the   .<div style=padding-top: 35px> , whereas location is referred to as the In the Prolog fact location(balcony,H1), balcony and H1 are   , whereas location is referred to as the   .<div style=padding-top: 35px> .
سؤال
Finding the value for a variable while solving a Prolog goal is called Finding the value for a variable while solving a Prolog goal is called   .<div style=padding-top: 35px> .
سؤال
Write at least five Prolog facts that describe your relationships to members of your family.
سؤال
To prevent hackers from guessing the location of critical program elements, programmers can use a technique called To prevent hackers from guessing the location of critical program elements, programmers can use a technique called   space randomization.<div style=padding-top: 35px> space randomization.
سؤال
  methods help programmers apply rigorous logical and mathematical models to the design of life-critical systems.<div style=padding-top: 35px> methods help programmers apply rigorous logical and mathematical models to the design of life-critical systems.
سؤال
Describe how buffer overflows and verbose error messages make computer programs vulnerable to hackers.
سؤال
Do you believe that violent videogames contribute to teen violence?
سؤال
While browsing through several programs posted online, you come across the following code and realize it is written using the While browsing through several programs posted online, you come across the following code and realize it is written using the   programming language. male(frodo). male(mungo). male(largo). male(balbo). female(berylla). female(belladonna). female(primula). female(sella). parents(mungo,berylla,balbo). parents(frodo,primula,drogo). parents(largo,berylla,balbo). parents(sella,berylla,balbo). brother_of(X,Y):- male(Y), parents(X,Mother,Father), parents(Y,Mother,Father).<div style=padding-top: 35px> programming language.
male(frodo).
male(mungo).
male(largo).
male(balbo).
female(berylla).
female(belladonna).
female(primula).
female(sella).
parents(mungo,berylla,balbo).
parents(frodo,primula,drogo).
parents(largo,berylla,balbo).
parents(sella,berylla,balbo).
brother_of(X,Y):-
male(Y),
parents(X,Mother,Father),
parents(Y,Mother,Father).
سؤال
Create a sentence outline for Section E that focuses on techniques for secure programming.
سؤال
A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement "the living room floor is rectangular" is an example of a(n) A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement the living room floor is rectangular is an example of a(n)   . The length and width of the room are examples of   information, which you can obtain as   from the user.<div style=padding-top: 35px> . The length and width of the room are examples of A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement the living room floor is rectangular is an example of a(n)   . The length and width of the room are examples of   information, which you can obtain as   from the user.<div style=padding-top: 35px> information, which you can obtain as A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement the living room floor is rectangular is an example of a(n)   . The length and width of the room are examples of   information, which you can obtain as   from the user.<div style=padding-top: 35px> from the user.
سؤال
Examine the code shown below. This program prints Examine the code shown below. This program prints   lines of text. For n = 1 To 5 Print Loop number  n Next n<div style=padding-top: 35px> lines of text.
For n = 1 To 5
Print "Loop number " n
Next n
سؤال
Describe the three elements of a problem statement. Provide examples within the context of the pizza problem.
سؤال
List steps that consumers can take to avoid vulnerabilities that exist in defective software code.
سؤال
Provide a ballpark figure for the number of lines of code in an operating system such as Windows 7.
سؤال
Create a diagram that shows how low-level and high-level languages relate to the five generations of computer languages.
سؤال
A(n) A(n)   is a set of application program or operating system functions that programmers can access from within the programs they create. (Hint: Use the acronym.)<div style=padding-top: 35px> is a set of application program or operating system functions that programmers can access from within the programs they create. (Hint: Use the acronym.)
سؤال
  -generation programming languages, such as C, COBOL, and Fortran, use easy-to-remember command words.<div style=padding-top: 35px> -generation programming languages, such as C, COBOL, and Fortran, use easy-to-remember command words.
سؤال
A(n) A(n)   methodology focuses on flexible program development and specifications that evolve as a project progresses.<div style=padding-top: 35px> methodology focuses on flexible program development and specifications that evolve as a project progresses.
سؤال
The section of a program that contains a repetition control is sometimes referred to as an iteration or a(n) The section of a program that contains a repetition control is sometimes referred to as an iteration or a(n)  <div style=padding-top: 35px>
سؤال
A(n) A(n)   is a set of steps for carrying out a task that programmers express in Structured English, pseudocode, or flowcharts.<div style=padding-top: 35px> is a set of steps for carrying out a task that programmers express in Structured English, pseudocode, or flowcharts.
سؤال
A selection control structure tells a computer what to do based on whether a condition is true or false, whereas a(n) A selection control structure tells a computer what to do based on whether a condition is true or false, whereas a(n)   control structure can change the order in which program instructions are executed.<div style=padding-top: 35px> control structure can change the order in which program instructions are executed.
سؤال
The sample code for the object-oriented pizza program in this section of the chapter was written using the The sample code for the object-oriented pizza program in this section of the chapter was written using the   programming language.<div style=padding-top: 35px> programming language.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/49
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 13: Computer Programming
1
In OO programming, a class is a template for a group of In OO programming, a class is a template for a group of   with similar characteristics. with similar characteristics.
Classes in OO programming
In object-oriented programming, an object refers to an entity, whether the entity is in the form of a person, thing or place. Object refers to single unit of data. Classes are used for defining the objects in a general way. In classes objects with similar characteristics are generalized.
Therefore, the appropriate word to fill in the blank is objects.
2
The process of passing certain characteristics from a superclass to a subclass is referred to as The process of passing certain characteristics from a superclass to a subclass is referred to as   . .
Passing characteristics from superclass to subclass
Inheritance is a technique used in object-oriented languages for establishing relationships between two objects or classes. The inherited class is called as super class and the class which inherits is called as base class. By using this property, characteristics of super class is passed to base class. This means the characteristics of super class is used by the base class.
Therefore, the appropriate word to fill in the blank is inheritance.
3
In a Prolog rule, the :- connecting symbol means In a Prolog rule, the :- connecting symbol means   . .
Connecting symbol in Prolog rule
A Prolog rule contains head, body and connecting symbol. Refer to the figure "12.48" in the textbook. The outcome of the rule is defined by the head, the connecting symbol ":-" means "if" and body consists of clauses. The arguments that are passed in head are in such a manner that first argument goes in favor of head and second argument goes against argument.
Therefore, the appropriate word to fill in the blank is if.
4
The declarative programming paradigm focuses on describing a(n) , whereas the procedural paradigm focuses on algorithms that describe a(n) The declarative programming paradigm focuses on describing a(n) , whereas the procedural paradigm focuses on algorithms that describe a(n)   . .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
5
A Prolog attribute can be a(n) A Prolog attribute can be a(n)   , such as round (with a lowercase r ), or it can be a(n)   , such as Shape (with an uppercase S ). , such as round (with a lowercase r ), or it can be a(n) A Prolog attribute can be a(n)   , such as round (with a lowercase r ), or it can be a(n)   , such as Shape (with an uppercase S ). , such as Shape (with an uppercase S ).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
6
  code produces a digital certificate, which identifies the source of a computer program but does not verify that the program code is free of viruses and other malware. code produces a digital certificate, which identifies the source of a computer program but does not verify that the program code is free of viruses and other malware.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
7
A(n) A(n)   overflow is a condition in which data in memory exceeds its expected boundaries and flows into memory areas intended for use by other data. overflow is a condition in which data in memory exceeds its expected boundaries and flows into memory areas intended for use by other data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
8
  error messages can present attackers with information about the directory location of programs or files, the structure of a database, or the layout of the program in memory. error messages can present attackers with information about the directory location of programs or files, the structure of a database, or the layout of the program in memory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
9
List and describe three types of errors that are typically found when computer programs are tested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
10
Have you played violent videogames?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
11
Do you think that states might be able to craft legislation that limits violent videogame sales without eroding principles of free speech?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
12
List and describe at least eight tools other than programming languages that programmers use to create computer programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
13
Continuing with the carpet example, you devise a set of steps, or a(n) Continuing with the carpet example, you devise a set of steps, or a(n)   , to solve the problem. You then use a programming language to write the   shown below, which expresses the algorithm. Input Enter the width of the room in feet: ; width Input Enter the length of the room in feet: ; length Print Carpet needed: Print length*width  square feet Print (length*width)/9 square yards , to solve the problem. You then use a programming language to write the Continuing with the carpet example, you devise a set of steps, or a(n)   , to solve the problem. You then use a programming language to write the   shown below, which expresses the algorithm. Input Enter the width of the room in feet: ; width Input Enter the length of the room in feet: ; length Print Carpet needed: Print length*width  square feet Print (length*width)/9 square yards shown below, which expresses the algorithm.
Input "Enter the width of the room in feet: "; width
Input "Enter the length of the room in feet: "; length
Print "Carpet needed:"
Print length*width " square feet"
Print (length*width)/9 "square yards"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
14
You've just joined a programming team that is developing a Java program for an earth-moving equipment vendor. The lead programmer shows you a UML with labels such as Cranes, Trucks, and Front-end Loaders. With your background in object-oriented programming, you can tell immediately that these are You've just joined a programming team that is developing a Java program for an earth-moving equipment vendor. The lead programmer shows you a UML with labels such as Cranes, Trucks, and Front-end Loaders. With your background in object-oriented programming, you can tell immediately that these are   , which will be coded as a series of attributes, such as private string manufacturer.  , which will be coded as a series of attributes, such as private string manufacturer.
You've just joined a programming team that is developing a Java program for an earth-moving equipment vendor. The lead programmer shows you a UML with labels such as Cranes, Trucks, and Front-end Loaders. With your background in object-oriented programming, you can tell immediately that these are   , which will be coded as a series of attributes, such as private string manufacturer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
15
Define the term algorithm and explain how it relates to procedural programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
16
Describe how the jobs performed by computer programmers differ from the jobs performed by software engineers and systems analysts.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
17
Describe the differences between event-driven, procedural, object-oriented, and declarative paradigms. Provide at least one example of a language that supports each paradigm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
18
Create a flowchart, structured English, and pseudocode to express the algorithm for tying your shoes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
19
Computer programming Computer programming   include procedural, object-oriented, eventdriven, and declarative. include procedural, object-oriented, eventdriven, and declarative.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
20
To find errors in a computer program, programmers can use a software tool called a(n) To find errors in a computer program, programmers can use a software tool called a(n)   . .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
21
Give an example of a sequence control structure, a selection control structure, and a repetition control structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
22
COBOL, Fortran, and C are examples of programming languages used when working with the COBOL, Fortran, and C are examples of programming languages used when working with the   paradigm. paradigm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
23
A subroutine or procedure is a section of code that is part of a program, but is not included in the main execution path. True or false? A subroutine or procedure is a section of code that is part of a program, but is not included in the main execution path. True or false?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
24
Define the following terms associated with object-oriented programming: object, class, superclass, subclass, attribute, message, method, inheritance, polymorphism, and encapsulation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
25
OO programmers often use OO programmers often use   diagrams to plan the classes for a program. (Hint: Use the abbreviation.) diagrams to plan the classes for a program. (Hint: Use the abbreviation.)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
26
In an OO program, getArea() would be called a(n) In an OO program, getArea() would be called a(n)   . .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
27
Define the following terms associated with the declarative paradigm: fact, rule, predicate, arguments, goal, instantiation, and backtracking.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
28
In the Prolog fact location(balcony,H1), balcony and H1 are In the Prolog fact location(balcony,H1), balcony and H1 are   , whereas location is referred to as the   . , whereas location is referred to as the In the Prolog fact location(balcony,H1), balcony and H1 are   , whereas location is referred to as the   . .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
29
Finding the value for a variable while solving a Prolog goal is called Finding the value for a variable while solving a Prolog goal is called   . .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
30
Write at least five Prolog facts that describe your relationships to members of your family.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
31
To prevent hackers from guessing the location of critical program elements, programmers can use a technique called To prevent hackers from guessing the location of critical program elements, programmers can use a technique called   space randomization. space randomization.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
32
  methods help programmers apply rigorous logical and mathematical models to the design of life-critical systems. methods help programmers apply rigorous logical and mathematical models to the design of life-critical systems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
33
Describe how buffer overflows and verbose error messages make computer programs vulnerable to hackers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
34
Do you believe that violent videogames contribute to teen violence?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
35
While browsing through several programs posted online, you come across the following code and realize it is written using the While browsing through several programs posted online, you come across the following code and realize it is written using the   programming language. male(frodo). male(mungo). male(largo). male(balbo). female(berylla). female(belladonna). female(primula). female(sella). parents(mungo,berylla,balbo). parents(frodo,primula,drogo). parents(largo,berylla,balbo). parents(sella,berylla,balbo). brother_of(X,Y):- male(Y), parents(X,Mother,Father), parents(Y,Mother,Father). programming language.
male(frodo).
male(mungo).
male(largo).
male(balbo).
female(berylla).
female(belladonna).
female(primula).
female(sella).
parents(mungo,berylla,balbo).
parents(frodo,primula,drogo).
parents(largo,berylla,balbo).
parents(sella,berylla,balbo).
brother_of(X,Y):-
male(Y),
parents(X,Mother,Father),
parents(Y,Mother,Father).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
36
Create a sentence outline for Section E that focuses on techniques for secure programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
37
A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement "the living room floor is rectangular" is an example of a(n) A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement the living room floor is rectangular is an example of a(n)   . The length and width of the room are examples of   information, which you can obtain as   from the user. . The length and width of the room are examples of A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement the living room floor is rectangular is an example of a(n)   . The length and width of the room are examples of   information, which you can obtain as   from the user. information, which you can obtain as A friend asks you for help writing a computer program to calculate the square yards of carpet needed for a dorm room. The statement the living room floor is rectangular is an example of a(n)   . The length and width of the room are examples of   information, which you can obtain as   from the user. from the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
38
Examine the code shown below. This program prints Examine the code shown below. This program prints   lines of text. For n = 1 To 5 Print Loop number  n Next n lines of text.
For n = 1 To 5
Print "Loop number " n
Next n
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
39
Describe the three elements of a problem statement. Provide examples within the context of the pizza problem.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
40
List steps that consumers can take to avoid vulnerabilities that exist in defective software code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
41
Provide a ballpark figure for the number of lines of code in an operating system such as Windows 7.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
42
Create a diagram that shows how low-level and high-level languages relate to the five generations of computer languages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
43
A(n) A(n)   is a set of application program or operating system functions that programmers can access from within the programs they create. (Hint: Use the acronym.) is a set of application program or operating system functions that programmers can access from within the programs they create. (Hint: Use the acronym.)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
44
  -generation programming languages, such as C, COBOL, and Fortran, use easy-to-remember command words. -generation programming languages, such as C, COBOL, and Fortran, use easy-to-remember command words.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
45
A(n) A(n)   methodology focuses on flexible program development and specifications that evolve as a project progresses. methodology focuses on flexible program development and specifications that evolve as a project progresses.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
46
The section of a program that contains a repetition control is sometimes referred to as an iteration or a(n) The section of a program that contains a repetition control is sometimes referred to as an iteration or a(n)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
47
A(n) A(n)   is a set of steps for carrying out a task that programmers express in Structured English, pseudocode, or flowcharts. is a set of steps for carrying out a task that programmers express in Structured English, pseudocode, or flowcharts.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
48
A selection control structure tells a computer what to do based on whether a condition is true or false, whereas a(n) A selection control structure tells a computer what to do based on whether a condition is true or false, whereas a(n)   control structure can change the order in which program instructions are executed. control structure can change the order in which program instructions are executed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
49
The sample code for the object-oriented pizza program in this section of the chapter was written using the The sample code for the object-oriented pizza program in this section of the chapter was written using the   programming language. programming language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.