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
Tju [1.3M]
1 year ago
12

This is a graded practice activity. This is not an actual quiz.

Computers and Technology
1 answer:
Lerok [7]1 year ago
8 0

Answer:

0

Explanation:

x=27

y=5

22+(27-5)

22+(22)

0

You might be interested in
Give several reasons why Python is such a great programming language. Explain how Python is related to flowcharts. (students mak
Mekhanik [1.2K]

It is great but that's really it.

Don't get me wrong I adore Python, no complications, pure simplicity, wonderful community. But for any larger project that will be scaled I'd never use it. It's slow (mostly because of GIL) and gets pretty hard to organise once you have thousands of .py files but it's still a great language (my first one) when doing quick prototyping, personal projects, learning and it's also AI de facto programming language because of its readability works as a glue with AI.

It's related to flowchart in a way we write algorithms, for eg. in python we rarely use counter in for loop the inverse is thus C++ where most for loops are for loops not for each loops.

Hope this helps.

3 0
3 years ago
See the lseek_example.c file. Modify the lseek_example.c, such that it reads from an input file (named "start.txt") and will pri
andre [41]

Answer:

See the lseek_example.c file. Modify the lseek_example.c, such that it reads from an input file (named "start.txt") and will print to an output file (named "end.txt") every (1+3*i)th character, starting from the 1st character in the input file. In other words, it will print the 1st character, then skip 2 characters and print the 4th one, then skip 2 characters and print the 7th one, and so on.

For instance, for input file:

ABCDEFGHIJKLM

It will output:

ADGJM

Iseek_example.c file contant:

// C program to read nth byte of a file and

// copy it to another file using lseek

#include

#include

#include

#include

void func(char arr[], int n)

{

// Open the file for READ only.

int f_read = open("start.txt", O_RDONLY);

// Open the file for WRITE and READ only.

int f_write = open("end.txt", O_WRONLY);

int count = 0;

while (read(f_read, arr, 1))

{

// to write the 1st byte of the input file in

// the output file

if (count < n)

{

// SEEK_CUR specifies that

// the offset provided is relative to the

// current file position

lseek (f_read, n, SEEK_CUR);

write (f_write, arr, 1);

count = n;

}

// After the nth byte (now taking the alternate

// nth byte)

else

{

count = (2*n);

lseek(f_read, count, SEEK_CUR);

write(f_write, arr, 1);

}

}

close(f_write);

close(f_read);

}

// Driver code

int main()

{

char arr[100];

int n;

n = 5;

// Calling for the function

func(arr, n);

return 0;

}

Explanation:

3 0
3 years ago
In<br>6) which device can not be shared<br>network?​
SCORPION-xisa [38]

Answer:

mouse cannot be shared on network

6 0
2 years ago
Suppose you run a query, and a dialog box appears asking you to enter a date. You are most likely working with a ________ query.
masya89 [10]

Answer: Parameter

Explanation:

7 0
1 year ago
What is hypertext? Whata search engine? What is IT?
Verizon [17]

Answer:

Hypertext is a text in a document which references some other link within the same page or another page.

Search engine is an information retrieval system from larger pool of resources.

IT is for information technology whereby with the help of systems and communication medium we are able to send, retrieve information from one place to another.

Explanation:

Some website page can contain hypertext which is a link to another page. These are simple text upon clicking it lands us to another page or a pop up activity.

Examples of search engine is google with which we can search and retrieve information from a large database servers.

IT governs the ways these information exchanges taking place between client and sender with help of systems(computers) and communicating medium(internet).

7 0
3 years ago
Read 2 more answers
Other questions:
  • Ping pc-b from a command prompt window on pc-a. were the pings successful? why?
    11·1 answer
  • _ includes websites that encourage interaction and connection among people, businesses, and organizations.
    5·1 answer
  • Use a one-dimensional array to solve the following problem: A company pays its salespeople on a commission basis. The salespeopl
    6·1 answer
  • Which of the following is the largest disadvantage of wind power?
    12·2 answers
  • hackers can use as part of a reconnaissance process to learn about active network addresses and active processes?
    14·1 answer
  • How does VIDEO CONFERENCE change the way we work today???
    9·2 answers
  • What are the features of G-mail <br><br>(Write in your own words)​
    10·2 answers
  • The foundation of secure communication on the internet replies on asymmetric encryption, with the use of Public and Private keys
    10·1 answer
  • Generalized goals are more likely to be achieved than specific goals. True or False
    7·1 answer
  • Explain the steps in starting the MS Access from the Start Menu.​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!