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
Step2247 [10]
4 years ago
10

Write the definition of a function issenior, that receives an integer parameter and returns true if the parameter 's value is gr

eater or equal to 65, and false otherwise.
Computers and Technology
1 answer:
timofeeve [1]4 years ago
4 0
Private boolean issenior( int age )
{
  return( ( age >= 65 ) ? true : false; )
  // I enjoy the ternary operator!
}
You might be interested in
Binary Number Cards
Sedaia [141]

Answer:

13: 1101

5: 0101

10: 1010

2: 0010

Explanation:

The binary system, on the other hand, is a base-2 number system. That means it only uses two numbers: 0 and 1. When you add one to one, you move the 1 one spot to the left into the twos place and put a 0 in the ones place

what is done with the dice is to have an example of how binary numbers are made until 15

5 0
3 years ago
PLS HURRY<br> Look at the image below
Nimfa-mama [501]

Answer:

20

Explanation:

During the first iteration for the list [1, 4], numB = 1.

During the first iteration of the list [2, 3], numA = 2.

answer = answer + numA + numB

= 0 + 2 + 1

= 3

Since the list [2, 3] is in a nested loop, we need to first finish iterating the whole list before numB iterates to the next number, so numA = 3 this time and numB still stays at 1.

answer = answer + numA + numB

= 3 + 3 + 1

= 7

Now, numB moves to 4 and numA starts back at 2 again.

answer = answer + numA + numB

= 7 + 2 + 4

= 13

numB still says at 4 and numA moves to 3 since it is in a nested loop:

answer = answer + numA + numB

= 13 + 3 + 4

= 20

print(answer) will print the output 20.

Hope this helps :)

4 0
3 years ago
1. In the space below, explain how the Table Tools can be accessed in Word.
Dvinal [7]

Answer:

Creating a Table

1) Click the Insert tab on the Ribbon

2) Click on Table

3) Highlight the number of columns and rows you’d like

OR

4) Click Insert Table

5) Click the arrows to select the desired number of columns

6) Click the arrows to select the desired number of rows

7) Click OK

3 0
3 years ago
Give examples of applications that access files by each of the following methods:
KengaRu [80]

Answer:

Explanation:

Usually, applications would have the capability of using either one of these options. But for the sake of the question here are some that usually prefer one method over the other.

Any program that targets an API usually uses Sequential access. This is because API's contain all of the data as objects. Therefore, you need to access that object and sequentially navigate that object to the desired information in order to access the data required.

A music application would have access to an entire folder of music. If the user chooses to set the application to randomly play music from that folder, then the application will use a Random Access method to randomly choose the music file to load every time that a song finishes.

4 0
3 years ago
What is one advantage of using a relational database over a spreadsheet or flat file to store data?
Elis [28]
A relational database<span> is a digital database. It is collection of data items organized in tables from which data can be accessed or reassembled in many different ways without having to reorganize the </span>database<span> tables. There are several advantages of using a relational database over a spreadsheet or flat file to store data. Some of them are:
</span><span>- No multiple record changes are needed
- The storage is more efficient storage
- It is simpler to delete or modify details.<span>
</span></span>- Complex queries can be carried out<span>.
</span>- Better security. 
8 0
4 years ago
Read 2 more answers
Other questions:
  • What is the difference between the Paste Special and Paste Link options?
    7·2 answers
  • What is the process of copying items from ram to a storage device?
    8·1 answer
  • How can we compare a computer with human beings?
    14·1 answer
  • Which activity should be part of a long-term plan to positively affect your
    5·1 answer
  • May someone help me with the this question pls , The governor of a state wants to inform the people about a change in the tax po
    9·1 answer
  • Please someone participate in my typing race ...
    8·1 answer
  • Any computer expert to help me answer this question.. am giving brainliest
    13·1 answer
  • The BCD number for decimal 473 is( ). a) 111011010; b) 010011110011; c) 010001110011; d)0010110110​
    15·1 answer
  • if you want to build a smart-glove that responds based on the direction and speed a user moves their hand, what sensor should yo
    6·1 answer
  • For quantitative data (e.g. the number of milligrams of a drug) coding your data involves?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!