You have a larger file but do not need it right away. In this scenario, you have to change the way a file is used to make it what?
O open
o closed
compressed
O usable

Answers

Answer 1

Answer:

Compressed

Explanation:

I hope this helps!

Answer 2

Answer:

usable

Explanation:

open doesnt make any sense, neither does closed and compressed is wrong i chose it and got it wrong. Its usable


Related Questions

We can cluster in one dimension as well as in many dimensions. In this problem, we are going to cluster numbers on the real line. The particular numbers (data points) are 1, 4, 9, 16, 25, 36, 49, 64, 81, and 100, i.e., the squares of 1 through 10. We shall use a k-means algorithm, with two clusters. You can verify easily that no matter which two points we choose as the initial centroids, some prefix of the sequence of squares will go into the cluster of the smaller and the remaining suffix goes into the other cluster. As a result, there are only nine different clusterings that can be achieved, ranging from {1}{4,9,...,100} through {1,4,...,81} {100}. We then go through a reclustering phase, where the centroids of the two clusters are recalculated and all points are reassigned to the nearer of the two new centroids. For each of the nine possible clusterings, calculate how many points are reclassified during the reclustering phase. Identify in the list below the pair of initial centroids that results in exactly one point being reclassified.
a) 36 and 64
b) 36 and 100
c) 4 and 16
d) 4 and 81

Answers


A is the answer because I’m good

The list of the pair of initial centroids that results in exactly one point being reclassified is 36 and 64. The correct option is a.

What is the real line?

A real axis, or a line with a set scale so that each real number corresponds to a distinct point on the line, is the most popular definition of "real line." The complex plane is a two-dimensional extension of the real line.

A cluster is a collection or grouping of items in a certain place. Mathematicians define a cluster as data accumulating around a single value, specifically a number. On a table or graph, a cluster can be seen visually where the data points are grouped together.

The numbers are 4, 9, 16, 25, 36, 49, 64, 81, and 100. In the real line, it will be 36 and 64.

Therefore, the correct option is a. 36 and 64.

To learn more about real line, refer to the link:

https://brainly.com/question/19571357

#SPJ2

Plz answer it’s timed

Answers

Answer: the third one

Explanation:

just trust me, the other ones dont mke sense to what I know about the subject, which is a lot

How should you add a appointment to your outlook calendar

Answers

answer:

press on the date thing

Put a note on the date you have a appointment on in your calendar

( This isnt really a homework question, its more of just a general question ) I am starting to code C# and I have downloaded visual studio and dotnet, but when trying to run the code for opening a new console template it keeps giving me this error
" dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ dotnet new console
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (dotnet:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException "
Please help me fix this. ( btw i am using dotnet 6.0 SDK, but before that I was using 5.0.203

Answers

Answer:

Explanation:

This is usually an issue with the Microsoft Visual C++ redistributable. One fix that usually works is to do the following

Open Programs and Features

Uninstall and then choose Repair on Microsoft Visual C++ Redistributable (x86) and x64 version

Reinstall or repair the installation of the .NET Core SDK 1.0.1.

If this does not work, another option would be to manually change the install path of these files from "Program Files (x86) to  "Program Files"

Hope this helps solve your issue.

Write a recursive method named factorial that accepts an integer n as a parameter and returns the factorial of n, or n!. A factorial of an integer is defined as the product of all integers from 1 through that integer inclusive. For example, the call of factorial(4) should return 1 * 2 * 3 * 4, or 24. The factorial of 0 and 1 are defined to be 1. You may assume that the value passed is non-negative and that its factorial can fit in the range of type int. Do not use loops or auxiliary data structures; solve the problem recursively.

Answers

Answer:

The function in Python is as follows:

def factorial(n):

  if n == 1 or n == 0:

      return n

  else:

      return n*factorial(n-1)

Explanation:

This defines the function

def factorial(n):

This represents the base case (0 or 1)

  if n == 1 or n == 0:

It returns 0 or 1, depending on the value of n

      return n

If n is positive, then this passes n - 1 to the factorial function. The process  is repeated until n = 1

  else:

      return n*factorial(n-1)

Einstein's famous equation states that the energy in an object at rest equals its mass times the squar of the speed of light. (The speed of light is 300,000,000 m/s.) Complete the skeleton code below so that it: Accepts the mass of an object [remember to convert the input string to a number, in this case, a float). Calculate the energy, e Prints e Code Full Screen code.py' New m-str. input('Input m: 1 ') # d not change this line change m str to a float # remember you need c s Iine 8 print("e:", e) # do not change Save & Run Tests

Answers

Answer:

The complete program is as follows:

m_str = input('Input m: ')

mass = float(m_str)

e = mass * 300000000**2

print("e = ",e)

Explanation:

This is an unchanged part of the program

m_str = input('Input m: ')

This converts m_str to float

mass = float(m_str)

This calculates the energy, e

e = mass * 300000000**2

This is an unchanged part of the program

print("e = ",e)

You own a small hardware store. You have been in business since 1995 and have always been profitable. You’ve never seen a need to do any marketing or advertising since you were able to stay profitable without those things. Plus, you lack any real understanding of how to use technology and it makes you anxious just thinking about technology or social media. However, your son just graduated from college and came home to live with you for the summer before he starts his new marketing manager job at a big firm. He tells you that you are probably losing a big share of the market by avoiding technology and social media. He also says that many of these items can be implemented very easily, and he would volunteer to continue to manage the social media sites in his spare time even after he starts his new job.

Answers

Answer:

Was this a TROLL?

Explanation:

Uhh... What is happening?.. What... Pt 2

Answers

Pistons being pistons I guess...

Answer:

Levers on the parts we cant see?

In c please
Counting the character occurrences in a file
For this task you are asked to write a program that will open a file called “story.txt
and count the number of occurrences of each letter from the alphabet in this file.
At the end your program will output the following report:
Number of occurrences for the alphabets:
a was used-times.
b was used - times.
c was used - times .... ...and so, on
Assume the file contains only lower-case letters and for simplicity just a single
paragraph. Your program should keep a counter associated with each letter of the
alphabet (26 counters) [Hint: Use array|
| Your program should also print a histogram of characters count by adding
a new function print Histogram (int counters []). This function receives the
counters from the previous task and instead of printing the number of times each
character was used, prints a histogram of the counters. An example histogram for
three letters is shown below) [Hint: Use the extended asci character 254]:

Answers

Answer:

#include <stdio.h>

#include <ctype.h>

void printHistogram(int counters[]) {

   int largest = 0;

   int row,i;

   for (i = 0; i < 26; i++) {

       if (counters[i] > largest) {

           largest = counters[i];

       }

   }

   for (row = largest; row > 0; row--) {

       for (i = 0; i < 26; i++) {

           if (counters[i] >= row) {

               putchar(254);

           }

           else {

               putchar(32);

           }

           putchar(32);

       }

       putchar('\n');

   }

   for (i = 0; i < 26; i++) {

       putchar('a' + i);

       putchar(32);

   }

}

int main() {

   int counters[26] = { 0 };

   int i;

   char c;

   FILE* f;

   fopen_s(&f, "story.txt", "r");

   while (!feof(f)) {

       c = tolower(fgetc(f));

       if (c >= 'a' && c <= 'z') {

           counters[c-'a']++;

       }

   }

   for (i = 0; i < 26; i++) {

       printf("%c was used %d times.\n", 'a'+i, counters[i]);

   }

   printf("\nHere is a histogram:\n");

   printHistogram(counters);

}

The given SQL creates a song table and inserts three songs.
Write three UPDATE statements to make the following changes:
Change the title from 'One' to 'With Or Without You'.
Change the artist from 'The Righteous Brothers' to 'Aritha Franklin'.
Change the release years of all songs after 1990 to 2021.
Run your solution and verify the songs in the result table reflect the changes above.
CREATE TABLE song (
song_id INT,
title VARCHAR(60),
artist VARCHAR(60),
release_year INT,
PRIMARY KEY (song_id)
);
INSERT INTO song VALUES
(100, 'Blinding Lights', 'The Weeknd', 2019),
(200, 'One', 'U2', 1991),
(300, 'You\'ve Lost That Lovin\' Feeling', 'The Righteous Brothers', 1964),
(400, 'Johnny B. Goode', 'Chuck Berry', 1958);
-- Write your UPDATE statements here:
SELECT *
FROM song;

Answers

Answer:

UPDATE song SET title = 'With Or Without You' WHERE song_ID = 200UPDATE song SET artist = 'Aritha Franklin' WHERE song_ID = 300UPDATE song SET release_year = 2021 WHERE release_year > 1990

Explanation:

Given

The above table definition

Required

Statement to update the table

The syntax of an update statement is:

UPDATE table-name SET column-name = 'value' WHERE column-name = 'value'

Using the above syntax, the right statements is as follows:

UPDATE song SET title = 'With Or Without You' WHERE song_ID = 200

The above sets the title to 'With Or Without You' where song id is 200

UPDATE song SET artist = 'Aritha Franklin' WHERE song_ID = 300

The above sets the artist to 'Aritha' where song id is 300

UPDATE song SET release_year = 2021 WHERE release_year > 1990

The above sets the release year to '2021' for all release year greater than 1990

What is up with the bots? They are so annoying.

Answers

Answer:

very very very annoying

Answer:

yeah

Explanation:

Explain how to back up a computer in five steps.

Answers

Answer:

Explanation:

1. Decide what to back up  

If you've stored anything valuable on your hard drive , you'll need to back that up yourself.

 2. Choose backup media  

You'll need to store your backup on a separate form of digital media - such as Go-ogle Drive, One  Drive for Business or an external hard drive

 3. Back up your data  

The backup method will vary depending on your choice of software and operating system Once that's done, schedule regular future backups.

4. Store it safely  

You don't want to lose your PC and your backup. So, be smart and keep your backup somewhere safe.

5. Check that it works

Errors and technical glitches can happen without you even noticing. You may only find out later when you actually need to use that data that something went wrong. Avoid the worry by checking your backups once in a while and confirming that the data is being properly backed up.

Can anybody please help me with 7.4.7 spelling bee codehs?

Answers

Answer:

word = "eggplant"

print "Your word is: " + word + "."

for i in word:

   print i + "!"

Explanation:

i don't know why but it is

Answer:

word = "eggplant"

print("Your word is !" + word + "!")

for i in word:

INDENT HERE or TAB print( i + "!")

Explanation:

Add an indentation right before the print( i + "!")

The speed density fuel injection system uses the blank sensor as the primary sensor as the primary sensor to determine base pulse width

A. Map
B TP
C Maf
D baro

Answers

Answer:

A) Map

Explanation:

All gasoline (petrol) fuel systems need ways or method that will be calculating amount of the air that is entering the engine.This is true as regards mechanical fuel injection, carburetors and electronic fuel injection.Speed density system fall under one of this method. "Speed" in this context means the speed of the engine while "density" means density of the air. The Speed is been measured using the distributor, crankshaft position sensor could be used here. The Density emerge from from measuring of the air pressure which is inside the induction system, using a typical "manifold absolute pressure" (MAP) sensor as well as air temperature sensor. Using pieces of information above, we can calculate

mass flow rate of air entering the engine as well as the correct amount of fuel can be supplied. With this system,

the mass of air can be calculated. One of the drawback if this system is that

Any modification will result to incorrect calculations. Speed-Density can be regarded as method use in estimation of airflow into an engine so that appropriate amount of fuel can be supplied as well as. adequate spark timing. The logic behind Speed-Density is to give prediction of the amount of air ingested by an engine accurately during the induction stroke. Then this information could now be used in calculating how much fuel is required to be provided, This information as well can be used in determining appropriate amount of ignition advance. It should be noted The speed density fuel injection system uses the Map sensor as the primary sensor to determine base pulse width

1
When determining the statement of purpose for a database design, what is the most important question to
Who will use the database?
O Should I use the Report Wizard?
How many copies should I print?
How many tables will be in the database?

Answers

Answer: A) Who will use the database?

Answer:

It's A

Explanation:

Using a text editor, create a file that contains a list of at least 15 six-digit account numbers. Read in each account number and display whether it is valid. An account number is valid only if the last digit is equal to the remainder when the sum of the first five digits is divided by 10. For example, the number 223355 is valid because the sum of the first five digits is 15, the remainder when 15 is divided by 10 is 5, and the last digit is 5. Write only valid account numbers to an output file, each on its own line. Save the application as ValidateCheckDigits.java.

Answers

Answer:

Explanation:

The following code is written in Java. It reads every input and checks to see if it is valid. If it is it writes it to the output file.

import java.io.File;

import java.io.FileNotFoundException;

import java.io.FileWriter;

import java.io.IOException;

import java.util.Scanner;

class Brainly {

           public static void main(String[] args) {

               try {

                   File myObj = new File("C:/Users/Gabriel2/AppData/Roaming/JetBrains/IdeaIC2020.2/scratches/input.txt");

                   Scanner myReader = new Scanner(myObj);

                   FileWriter myWriter = new FileWriter("C:/Users/Gabriel2/AppData/Roaming/JetBrains/IdeaIC2020.2/scratches/output.txt");

                   while (myReader.hasNextLine()) {

                       String data = myReader.nextLine();

                       int sum = 0;

                       for (int x = 0; x < 5; x++ ) {

                           sum += data.charAt(x);

                       }

                       int remainder = (sum % 10);

                       System.out.println(remainder);

                       System.out.println(data.charAt(5));

                       if (remainder == Integer.parseInt(String.valueOf(data.charAt(5)))) {

                           System.out.println("entered");

                           try {

                               myWriter.write(data + "\n");

                               System.out.println("Successfully wrote to the file.");

                           } catch (IOException e) {

                               System.out.println("An error occurred.");

                               e.printStackTrace();

                           }

                       }

                       sum = 0;

                   }

                   myWriter.close();

                   myReader.close();

               } catch (FileNotFoundException e) {

                   System.out.println("An error occurred.");

                   e.printStackTrace();

               } catch (IOException e) {

                   e.printStackTrace();

               }

           }

       }

Understanding Inner Joins
Which records would be returned in a query based on an inner join between a table named Customers and a table
named Orders? Check all that apply.
orphaned orders
orphaned customers
O customers who placed orders
customers who did not place orders
orders that are attached to customers
orders that are not attached to customers

Answers

Answer:  customers who placed orders,  orders that are attached to customers or C E

Explanation: on edg

The records that would returned in a query based on an inner join between a table named Customers and a table named Orders includes:

customers who placed ordersorders that are attached to customers

What is a query?

In a database, this refers to the request for information stored within a database management system that maintains data.

Hence, the "customers who placed orders" and "orders that are attached to customers" will be returned in a query based on an inner join between a table named Customers and a table named Orders

Therefore, the Option C & E is correct.

Read more about query

brainly.com/question/25694408

#SPJ2

Write a function to calculate the distance between two points Distance( x1, y1,x2.2) For example Distance(0.0,3.0, 4.0.0.0) should return 5.0 Use the function in main to loop through reading in pairs of points until the all zeros are entered printing distance with two decimal precision for each pair of points.
For example with input
32 32 54 12
52 56 8 30
44 94 4439 6
5 19 51 91 7.5
89 34 0000
Your output would be:__________.
a. 29.73
b. 51.11
c. 55.00
d. 73.35
e. 92.66

Answers

Answer:

The function in Python3  is as follows

def Distance(x1, y1, x2, y2):

   dist = ((x1 - x2)**2 +(y1 - y2)**2)**0.5

   return dist

   

Explanation:

This defines the function

def Distance(x1, y1, x2, y2):

This calculates distance

   dist = ((x1 - x2)**2 +(y1 - y2)**2)**0.5

This returns the calculated distance to the main method

   return dist

The results of the inputs is:

[tex]32, 32, 54, 12 \to 29.73[/tex]

[tex]52,56,8,30 \to 51.11[/tex]

[tex]44,94,44,39\to 55.00[/tex]

[tex]19,51,91,7.5 \to 84.12[/tex]

[tex]89,34,00,00 \to 95.27[/tex]

NO LINKS OR SPAMS THEY WILL BE REPORTD

Click here for 50 points

Answers

Answer:

thanks for the point and have a great day

State the items that will be examined when performing a binary search for Monkey,
which is not in the list.

Answers

The items that will be examined when performing a binary search for monkeys are Antelope, Baboon, Cheetah, Elephant, and Giraffe in the first half of the cycle.

What is binary search?

A search algorithm known as binary search in computer science, also known as half-interval search, logarithmic lookup, or binary chop, asserts to have discovered the location of a target value within a sorted array.

The target value is compared to the middle element of the array using binary search. A successful approach for finding an item in a sorted list of elements is binary search.

Therefore, in the first half of the cycle, the following objects will be looked at when conducting a binary search for monkeys: antelope, baboon, cheetah, elephant, and giraffe.

To learn more about binary search, refer to the link:

https://brainly.com/question/12946457

#SPJ1

QUESTION TWO
(50 MARKS)
2.1 Using multi-dimensional arrays, create an array that will store 10 items of stock (can be any item
e.g. cars,) with brand name, Number of stock in Store and Quantity Sold
(25)
NB: Use the While loop to display array elements
E.g.:
Brand name
Number of stock in Store
Quantity Sold
HP
15
28
DELL
14
16
Your output must be in tabular form as above.

Answers

The question is a programming exercise that involves the use of Multi-Dimensional Arrays. See below for the definition of a Multi-Dimensional Array.

What is a Multi-Dimensional Array?

A Multi-Dimensional Array is an array that has over one level and at least two dimensions. You could also state that it is an array that contains a matrix of rows and columns.

How do we create the array indicated in the question?

The array or output table may be created using the following lines of code:


<!DOCTYPE html>

<html>

<head>

 <title>Multi-Dimensional Arrays</title>

 <meta http-equiv="Content-Type" content = "text/html; charset=UTF-8"

</head>

<body>

 <?php

 $cars = array

  (

  array("Volvo", 22, 18),

  array("BMW", 15, 13),

  array("Kia", 5, 2),

  array("Land Rover", 17, 15),

  array("Toyota", 16, 18),

  array("Volkswagen", 20, 10),

  array("Audi", 19, 10),

  array("Mercedes Benz", 50, 5),

  array("Mazda", 11, 12),

  array("Ford", 14, 13),

  );  

 

  echo "<table border =\"1\" style='border-collapse: collapse'>";

  echo '<tr><th>Brand name</th><th>Number of Stock in Store</th><th>Quantity Sold</th></tr>';

 

  foreach($cars as $cars)

  {

   echo '<tr>';

   foreach($cars as $key)

   {

    echo '<td>'.$key.'</td>';

   }

   echo '</tr>';

  }

  echo "</table>";

 ?>

</body>

</html>

See the attached for the result of the code when executed.

Learn more about Multi-Dimensional Arrays at:

https://brainly.com/question/14285075

#SPJ2

com to enjoy dont give fkin lecture hsb-tnug-fyt​

Answers

Answer:

This is my faverrrrate part of computer science lol.

Explanation:

spreadsheet formula for total 91?​

Answers

Answer:

Go to any blank cell. Enter the number 91.

Select the cell that contains 91. Press Ctrl+C to copy.

Select your range the contains numbers.

Press Ctrl+Alt+V to open the Paste Special dialog.

In the top of the Paste Special dialog, choose Values. In the Operation section, choose Add. Click OK.

Explanation:

Find the sum of the values ​​from one to ten using recursion

Answers

Answer:

see picture

Explanation:

The result is 55, which can also be verified using the formula:

(n)(n-1)/2 => 10*9/2 = 55

Grooved pavement ahead means

Answers

Answer:it means warning

Explanation:

Create a program which reads in CSV data of Creatures and loads them into aHash Map. The key of this hash map will be the name of each creature. For your hash function, you can simply use the sum of all ASCII values. You can also come up with your own hash function. Your program should present a menu to the user allowing them to look up a creature by name. Additionally, create a function that allows the user to insert a new creature. This creature should be added to the existing hash map. If the name entered by the user already exists, DO NOT ADD IT TO THE HASH MAP. Simply report that the creature already exists. If the creature is unique and successfully added, report the calculated index value. Your hash array should start as size4. You will need to implement a rehashing function to maintain a load factor of 0.75. Collision resolution should be handled via separate chaining with linked lists.
Other Requirements
•Read in a CSV file from the command line when running the program.
•Convert the raw CSV data into the creature struct and add it to a HashMap
•Make sure you properly release all of your allocated memory.
•Format your code consistently.
•Function declarations, structs, and preprocess directives should be placed in a corresponding header file.
•Save your code for this problem ascreature_hash.(c|h).
Creature struct
typedef struct {
char *name;
char *type;
int hp;
int ac;
int speed;
} Creature;
Example Run
1. Search

2. Add Creature

3. Exit

> 1

Enter name: Terrasque

Unable to find "Terrasque"

1. Search

2. Add Creature

3. Exit

> 2

Enter name: Storm Giant

Enter type: Huge giant

Enter HP: 230

Enter AC: 16

Enter speed: 50

Storm Giant added at index 3.

CSV file: Name, hp, ac, speed, type

Rakshasa,110,16,40,Fiend
Priest,27,13,25,Humanoid
Berserker,67,13,30,Humanoid
Fire Elemental,102,13,50,Elemental
Kraken,472,18,20,Monstrosity
Centaur,45,12,50,Monstrosity
Mage,40,12,30,Humanoid
Hell Hound,45,15,50,Fiend
Basilisk,52,15,20,Elemental
Androsphinx,199,17,40,Monstrosity
Efreeti,200,17,40,Elemental
Balor,262,19,40,Fiend
Chain Devil,142,19,40,Fiend
Adult Black Dragon,195,19,80,Dragon
Adult Blue Dragon,225,19,80,Dragon
Adult Red Dragon,256,19,80,Dragon
Please help in C

Answers

Answer:

Explanation:

class TableInput{

    Object key;

    Object value;

    TableInput(Object key, Object value){

       this.key = key;

       this.value = value;

   }

}

abstract class HashTable {

   protected TableInput[] tableInput;

   protected int size;

   HashTable (int size) {

       this.size = size;

       tableInput = new TableInput[size];

       for (int i = 0; i <= size - 1; i++){

           tableInput[i] = null;

       }

   }

   abstract int hash(Object key);

   public abstract void insert(Object key, Object value);

   public abstract Object retrieve(Object key);

}

class ChainedTableInput extends TableInput {

   ChainedTableInput(Object key, Object value){

       super(key, value);

       this.next = null;

   }

    ChainedTableInput next;

}

class ChainedHashTable extends HashTable {

   ChainedHashTable(int size) {

       super(size);

       // TODO Auto-generated constructor stub

   }

   public int hash(Object key){

       return key.hashCode() % size;

   }

   public Object retrieve(Object key){

       ChainedTableInput p;

       p = (ChainedTableInput) tableInput[hash(key)];

       while(p != null && !p.key.equals(key)){

           p = p.next;

       }

       if (p != null){

           return p.value;

       }

       else {

           return null;

       }

   }

   public void insert(Object key, Object value){

       ChainedTableInput entry = new ChainedTableInput(key, value);

       int k = hash(key);

       ChainedTableInput p = (ChainedTableInput) tableInput[k];

       if (p == null){

           tableInput[k] = entry;

           return;

       }

       while(!p.key.equals(key) && p.next != null){

           p = p.next;

       }

       if (!p.key.equals(key)){

           p.next = entry;

       }

   }

   public double distance(Object key1, Object key2){

       final int R = 6373;

       Double lat1 = Double.parseDouble(Object);

   }

   }

Operating Expenses for a business includes such things as rent, salaries, and employee benefits.

Answers

Overhead expenses are what it costs to run the business, including rent, insurance, and utilities. Operating expenses are required to run the business and cannot be avoided. Overhead expenses should be reviewed regularly in order to increase profitability. Overhead costs can include fixed monthly and annual expenses such as rent, salaries and insurance or variable costs such as advertising expenses that can vary month-on-month based on the level of business activity. Operating expenses are expenses a business incurs in order to keep it running, such as staff wages and office supplies. Operating expenses do not include cost of goods sold (materials, direct labor, manufacturing overhead) or capital expenditures (larger expenses such as buildings or machines). Hope this helps!

Answer:

TRUE

Explanation:

Which of the following is NOT an example of a metasearch engine?

Answers

Answer:

Where is the choices mate?

Please Complete in Java a. Create a class named Book that has 5 fields variables: a stock number, author, title, price, and number of pages for a book. For each field variable create methods to get and set methods. b. Design an application that declares two Book objects. For each object set 2 field variables and print 2 field values. c. Design an application that declares an array of 10 Books. Prompt the user to set all field variables for each Book object in the array, and then print all the values.

Answers

Answer:

Explanation:

The following code is written in Java. I created both versions of the program that was described in the question. The outputs can be seen in the attached images below. Both versions are attached as txt files below as well.

Write a program to generate a square wave with 80% duty cycle on bit P2.7 Microprocessor.​

Answers

Answer:

assuming its assembly (otherwise just delete this ans)

Explanation:

MOV TMOD , #01 ;

MOV TLO, #00 ;

MOV THO, #DCH

CPL P1.5

ACALL DELAY

SJMP HERE

;generate delay using Timer 0

DELAY:

SETB TR0

AGAIN:

JNB TF0 ,AGAIN

CLR TR0

CLR TF0

RET

Other Questions
Write your outline now, then, submit it here for your instructor to review:Just write a outline Please What happens to excess fatty acids and glycerol in the body? Select the correct text In the passage. Which lines best demonstrate falling action in the passage? Steven and James emerged from the trees and walked along a sloping open area to the river. The rippling river sparkled like diamonds in the sun, and the boys couldn't resist the urge to stop and soak up the scenery. They watched as tiny Insects danced a ballet across the water. As they rested their feet, both boys gazed north toward the unpredictable volcano il cd become so familiar with. It was magnificent, even with the usual cloud of steam rising above it. As they watched, though, they notice ething around them was changing. The cloud on the volcano's peak suddenly grew larger, and the ground began to shake beneath .. James said, "I wonder-" He didn't have time to finish the rest of his sentence. As they looked on in stunned silence, the top of Big White Peak suddenly exploded and erupted. For a split second, everything was soundless. Steven and James stared, mesmerized by a huge, dark cloud streaked with blue and orange flashes. Then, as the roar of the sound reached them, both boys jumped up and began to sprint back to their car. They scrambled up the rugged hillside, tripping over rocks and branches without stopping. "Look!" shouted James, looking over his shoulder as he ran. The cloud was growing larger, and it seemed to be coming toward them with a tremendous amount of speed. Steven didn't think they needed to be concerned about the cloud itself because the wind was blowing in the opposite direction and they were quite far from the crater. What he was worried bout most , however, was that they might be caught in a flood. He hoped they could get away before the snow and ice from the Big White Peak melted in the heat of the eruption. The boys ran over the rugged terrain, glancing back nervously on the way to the car. As they drove away, heading for safety, they watched in amazement as a great wall of water carrying mud, rocks, and trees crashed down the mountain. In a matter of minutes, the grass and flowers were gone and the sparkling river had turned gray. Still numb with shock, they turned out of the park and onto the highway toward home. Adaptation, Natural Selection, and Evolution: Question 2Complete the sentence.variation includes differences in genes, whereasvariation includes differences in traits.Select oneOAllole geneticPhysical geneticGenotie pliysicalGenti alle Julie was given a new map of New Hampshire to calculate some distances. The scale is 1 inch = 50 miles. How far is Conway from Littleton? ANSWER BOTH OF THEM PLEASE!!! A. A car corporation produced 580 fewer cars this month than last.Write a signed number to represent this month's change in production.B. Debra's test score average increased by 4 points this semester.Write a signed number to represent this change in average. Below is a single strand of DNA, what is the complementary base pair for the strand?AAG, GCA, TCA, GAT Can someone please help? 20 points! Please answer ASAP! Thank you!Set ________to automatically turn off heat or air conditioningwhen buildings are closed to conserve energy.Energy can be used more efficiently getting more_________each unit of energy.Materials, such as gravel and sand, are technically________but there is so much of the available that we are unlikely to ever run out.________ ________can be regenerated or grow so rapidly that they reappear at the same rate or faster than they are used.we make sure resources will beWhen we practice ________ available in the future.________ are resources that cannot be regenerated on a usefultimescale.If Nation A needs a natural resource that Nation B has a lot of why might Nation A have trouble getting that resource from Nation B? A right triangle has one angle that measures 53. What is the measure of the other acute angle? When modeling fisheries: (You may choose one or more answers, you may also want to consult your book concerning fixed quota and fixed effort) Group of answer choices Fixed quota models are risky because slight miscalculations can result in fish population extinction Fixed quota models result in multiple maximum sustainable yield population levels Fixed effort harvesting reduces the risk of population extinction Fixed effort models result in an inability to harvest at maximum sustainable yield A sphere shaped orange has a diameter of 7 centimeters. Find the volume of the orange to the nearest tenth. Back to ContentQUIZ:Foundations - Systems of EquationsWhich expression is equivalent Please help What sentence demonstrates the most appropriate tone when writing to an adult? Based on the information I have provided in this paper, how you can allow this to continue to happen? Please consider my thoughts, and don't vote yes on the amendment. If you consider all the information and the facts, you will surely decide to change your vote on this amendment. Please consider the facts and both sides of the argument as you decide on your final vote on this amendment. This amendment is bad for the community. Please consider the effects of your vote, and vote no on this amendment. Write the standard number 6,267,000 In scientific notation. What prize did F. W. de Klerk, Nelson Mandela, and Desmond Tutu win? help this is hard for me lol 3 403,593 positive or negative? Fill in blanks with acronyms doctor and place Which of the following is an example of aerobic activity?OA. Cross-country skiing.CrunchesOC. YogaOD.None of the above