1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vekshin1
3 years ago
6

Unit 3 Computer Programming Study Guide

Computers and Technology
1 answer:
andriy [413]3 years ago
3 0

FUNCTION- a group of instructions that is often repeated

DEBUG- to analyse a piece of code and ensure there is no errors

SEQUENCING- placing code in a specific order(/sequence)

LOOP- doing something over and over again until a requirement is met

REPEAT- performing the same tasks again and again

CONDITIONALS- certain requirements

VARIABLE- something that is defined in a piece of code


A PROGRAMMER IS TO A COMPUTER AS A TEACHER IS TO: A student

A GOOD ALGORITHM MUST BE: Efficient and easy to understand

IMAGINE WRITING A PROGRAM THAT INSTRUCTS A BIRD HOW TO TAKE OFF, FLY AND LAND. WHAT FUNCTION IS LIKELY TO BE LOOPED? The fly function as a bird flies a longer period of time

WHICH OF THE FOLLOWING IS MOST SIMILAR TO A FUNCTION? *no choices so unable to answer*

WHAT DO VARIABLES AND FUNCTIONS HAVE IN COMMON? They both have to be defined


8. THE MAIN CAUSE OF BUGS IN CODING IS: Human error

9. LIST THE FOLLOWING IN ORDER FROM THE SIMPLEST TO MOST COMPLEX:

  1. PROGRAM
  2. FUNCTION
  3. STEP

10. IF A PROGRAM HAS GONE THROUGH MANY ITERATIONS, WHAT MUST BE TRUE? A condition(?)

11. What is a benefit of DRYing up code? c. It saves programmers time

12. A statement in a function can be most closely compared to: a. A step in a recipe

T/F: ARE THE SOLUTIONS PROVIDED TRUE? *no choices so unable to answer*


Hopefully this helped and I'm sorry I was unable to answer some questions :)

You might be interested in
Select the correct answer.
Softa [21]

Answer:

MY ANSWER IS B.

Explanation:

B.A+(B.C)

3 0
3 years ago
What is meant by editing a document​
Doss [256]

Answer: “Editing” in general means fixing problems in a written document so that it has no mistakes and is easy to read

Explanation: Yeah

5 0
2 years ago
Read 2 more answers
Write the definitions for three function named max. Each receives two parameters, of the same type, and returns the larger of th
GenaCL600 [577]

Answer:

The method definition to this question can be given as:

Method definition:

double max(double x, double y)  //define method with double parameter  

{

if (x>=y)    //check condition.

return x;  //return value

else

return y;     //return value

}

double max(int x, int y)    //define method with integer parameter

{

if (x>=y)    //check condition

return x;    //return value

else

return y;  //return value

}

double max(char x, char y)   //define method with char parameter

{

if (x>=y)    //check condition

return x;    //return value

else

return y;    //return value

}

Explanation:

The above method definition can be described as below:

  • In the first method definition first, we define a method that is "max()". In this method we pass two variables as a parameter that is "x and y" and the datatype of this is double. Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.  
  • In the second method definition, we define a method that is same as the first method name but in this method, we pass two integer variable that is "x and y". Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
  • In the third method definition, we define a method that is same as the first and second method name but in this method, we pass two char variable that is "x and y". Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
8 0
3 years ago
What service converts ip addresses into more recognizable alphanumeric names??
tresset_1 [31]
I think is DNS..........
6 0
3 years ago
Orphan record example?
Goryan [66]

Answer:

If we delete record number 15 in a primary table, but there's still a related table with the value of 15, we end up with an orphaned record. Here, the related table contains a foreign key value that doesn't exist in the primary key field of the primary table. This has resulted in an “orphaned record”.

4 0
3 years ago
Other questions:
  • The three tasks within data harmonization, namely: data consolidation, data cleansing, and data formatting use techniques called
    8·1 answer
  • Which of the following statements is true with regards to satellite Internet access?
    13·2 answers
  • The company where Derek works has tasked him with setting up and securing a SOHO router. He wants to make sure the wireless netw
    7·1 answer
  • Write a new program indent.cpp that enhances the program from the previous task. As it reads the input line by line, it should a
    10·1 answer
  • Discuss the differences between a quantitative and qualitative risk analysis. Please write two paragraphs.
    8·1 answer
  • If we can lock a file, we can solve the race condition problem by locking a file during the check-and-use window, because no oth
    14·1 answer
  • Design and implement a class dayType that implements the day of the week in a program. The class dayType should store the day, s
    11·1 answer
  • Select the correct answer from each drop-down menu.
    7·1 answer
  • PLZZZZZZZZZZ HELP ME OUT THIS DUE TODAY AND NEED SOMEONE HELP!!!!!plzzzzzzzzzzz i begging you!!!
    11·1 answer
  • ___ is a career discipline focusing on helping companies use computer technology effectively.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!