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
horsena [70]
4 years ago
7

Describe the effect of a pull up resistor

Computers and Technology
1 answer:
Vesna [10]4 years ago
3 0
With a pull-up resistor, the input pin will read a high state when the button is not pressed. In other words, a small amount of current is flowing between VCC and the input pin (not to ground), thus the input pin reads close to VCC. When the button is pressed, it connects the input pin directly to ground.
You might be interested in
When you break an iPad, can you recover an iMovie?
kompoz [17]
Yes, on your cloud. you should have an email 

7 0
3 years ago
Read 2 more answers
The following code segment is supposed to read all of the lines from test.txt and save them in copy.txt. infile = open("test.txt
alukav5142 [94]

Answer:

The line of code that should be placed is

while line:

The entire code should be as follows:

  1. infile = open("test.txt", "r")
  2. outfile = open("copy.txt", "w")
  3. line = infile.readline()
  4. while line:
  5.    outfile.write(line)
  6.    line = infile.readline()
  7. infile.close()
  8. outfile.close()

Explanation:

The Python built-in function <em>readline() </em>will read one line of text from <em>test.txt</em> per time. Hence, the code in Line 3 will only read the first line of text from <em>test.txt</em>.

To enable our program to read all the lines and copy to <em>copy.txt</em>, we can create a <em>while </em>loop (Line 5) to repeatedly copy the current read line to <em>copy.txt </em>and proceed to read the next line of text from<em> test.txt </em>(Line 6 -7).

"while line" in Line 5 means while the current line is not empty which denotes a condition of True, the codes in Line 6-7 will just keep running to read and copy the text until it reaches the end of file.

5 0
3 years ago
Linux - Ubuntu 16.4:
babymother [125]

I believe you have to install locate with "sudo apt-get install locate" and type "locate 'filename'"

6 0
3 years ago
Designing advanced power systems for naval vessels is an example of nuclear engineering.
Ugo [173]

The answer to your question is,

True.

-Mabel <3

7 0
3 years ago
Read 2 more answers
What is telecommunications?
777dan777 [17]
A communication over a distance by cable, telegraph, or broadcasting.
6 0
3 years ago
Other questions:
  • The feature that sets Macs apart from other operating systems is the _____.
    6·2 answers
  • An essential skill today is knowing how to cite sources properly. Creative Commons has a system of licenses and tools for creato
    11·1 answer
  • Why does temperature decrease with higher altitude?
    14·1 answer
  • 6. Data are given in comma delimited text file for a toy rocket. The rocket is powered by pressurized water that is discharged f
    14·1 answer
  • Given a string, return a version without the first and last char, so "Hello" yields "ell". The string length will be at least 2.
    13·1 answer
  • Alicia uses a software application to store the names, email addresses, and phone numbers of her friends in alphabetical order. 
    8·2 answers
  • An adjustable wrench's movable jaw is positioned <br> by​
    5·1 answer
  • How to make a computer
    14·2 answers
  • Assume you're using a three button mouse.To access shortcut menus,you would
    10·1 answer
  • The result of processing data ​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!