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
SCORPION-xisa [38]
3 years ago
9

Help please Write out the advantages of sequential access method

Computers and Technology
1 answer:
Nookie1986 [14]3 years ago
3 0

Sequential access method

When the computer reads or writes data starting from the beginning and goes step by step towards the end sequentially, then this is called sequential access method.

Example

The tape storage devices which are typically used for backups are an example of sequential access method.

Advantages

  • Sequential access is faster than random access when the user accesses information in the same sequence every time.
  • The files using the sequential access have a simple organization and structure which makes it easy to modify them.
  • Sequential access provides an ease of exchanging data with other programs such as in the case of data sharing between a database and a spreadsheet.

You might be interested in
Which of the following is an example of an application software?
pishuonlain [190]
Word processing software
6 0
3 years ago
How to write a C++ program that allows a user to enter their rating of the three movies in the Dark Knight Trilogy and then disp
8_murik_8 [283]

The program is an illustration of arrays.

Arrays are used to hold multiple values in one variable.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

int main(){

   //This declares an array of three elements for the three ratings

   int ratings[3];

   //This initializes the sum of the ratings to 0

   int total = 0;

   //The following iteration gets input for the three ratings

   for(int i = 0; i<3;i++){

       cin>>ratings[i];

       //This calculates the sum of all inputs

       total+=ratings[i];

   }

   //This declares and initializes the lowest and the highest ratings

   int lowest = ratings[0], highest = ratings[0];

   //This iterates through the array

   for(int i = 1; i<3;i++){

       //The following if condition determines the lowest rating

       if (lowest > ratings[i]){    lowest = ratings[i];        }

       //The following if condition determines the highest rating

       if (highest < ratings[i]){            highest = ratings[i];        }

   }

   //This prints the output header

   cout<<"The ratings are: ";

   //The following iteration prints the three ratings

   for(int i = 0; i<3;i++){

       cout<<ratings[i]<<" ";   }

   //The prints the highest ratings

cout<<endl<<"Highest: "<<highest<<endl;

   //The prints the lowest rating

   cout<<"Lowest: "<<lowest<<endl;

   //The prints the average rating

cout<<"Average: "<<total/3<<endl;

   return 0;

}

At the end of the program, the ratings entered, the highest rating, the lowest rating, and the average of the ratings are printed.

See attachment for sample run

Read more about similar programs at:

brainly.com/question/13261254

8 0
3 years ago
A walk-through of the project deliverable is conducted by<br> __
prisoha [69]
A walk through of the project deliverable is conducted by: the sellers agent
5 0
3 years ago
JAVA PROGRAMMING
VashaNatasha [74]

Answer:

See explaination

Explanation:

import java.util.Scanner;

public class GtldValidation {

public static void main (String [ ] args) {

Scanner scnr = new Scanner(System.in);

// Define the list of valid core gTLDs

String [ ] validCoreGtld = { ".com", ".net", ".org", ".info" };

// FIXME: Define an array named validRestrictedGtld that has the names

// of the restricted domains, .biz, .name, and .pro

String [] validRestrictedGtld={".biz",".name",".pro"};

String inputName = "";

String searchName = "";

String theGtld = "";

boolean isValidDomainName = false;

boolean isCoreGtld = false;

boolean isRestrictedGtld = false;

int periodCounter = 0;

int periodPosition = 0;

int i = 0;

System.out.println("\nEnter the next domain name (<Enter> to exit): ");

inputName = scnr.nextLine();

while (inputName.length() > 0) {

searchName = inputName.toLowerCase();

isValidDomainName = false;

isCoreGtld = false;

isRestrictedGtld = false;

// Count the number of periods in the domain name

periodCounter = 0;

for (i = 0; i < searchName.length(); ++i) {

if (searchName.charAt(i) == '.') {

++periodCounter;

periodPosition = i;

}

}

// If there is exactly one period that is not at the start

// or end of searchName, check if the TLD is a core gTLD or a restricted gTLD

if ((periodCounter == 1) &&

(searchName.charAt(0) != '.') &&

(searchName.charAt(searchName.length() - 1) != '.')) {

isValidDomainName = true;

}

if (isValidDomainName) {

// Extract the Top-level Domain name starting at the period's position. Ex:

// If searchName = "example.com", the next statement extracts ".com"

theGtld = searchName.substring(periodPosition);

i = 0;

while ((i < validCoreGtld.length) && (!isCoreGtld)) {

if(theGtld.equals(validCoreGtld[i])) {

isCoreGtld = true;

}

else {

++i;

}

}

// FIXME: Check to see if the gTLD is not a core gTLD. If it is not,

// check to see whether the gTLD is a valid restricted gTLD.

// If it is, set isRestrictedGtld to true

}

System.out.print("\"" + inputName + "\" ");

if (isValidDomainName) {

System.out.print("is a valid domain name and ");

if (isCoreGtld) {

System.out.println("has a core gTLD of \"" + theGtld + "\".");

}

else if (isRestrictedGtld) {

System.out.println("has a restricted gTLD of \"" + theGtld + "\".");

}

else {

System.out.println("does not have a core gTLD."); // FIXME update message

}

}

else {

System.out.println("is not a valid domain name.");

}

System.out.println("\nEnter the next domain name (<Enter> to exit): ");

inputName = scnr.nextLine();

}

return;

}

}

8 0
4 years ago
Someone please help me fill this out! Ill give u brainlest
Verizon [17]
<span>¿De qué manera participar en actividades extracurriculares?
¿Cómo ayudar a sobresalir en la solicitud de la universidad?
R: aprendes habilidades diferentes a las clases habituales, como lograr obtener una gran habilidad en la oratoria o ya sea aprendiendo mas sobre la literatura y aprender a componer poemas
<span><span>Si pudieras crear tu propio club u organización, ¿qué tipo de club u organización sería?
R : un club de robotica seria lo mas apropiado ya que aprenderemos a programar y llegar a comprender la mecanica de las aplicaciones que usamos a diario y al aprender a crear robots propios aprenderemos nuevas habilidades y aprender a confiar en nuestro propio criterio para que funcionen las cosas </span><span>¿Qué tipo de habilidades se requieren para estar en el club u organización?
R: debe tenerse un conocimiento muy basico en los lenguajes de programasion ya sea con solo entender la logica </span></span>
<span><span>¿Crees que una actividad extracurricular puede ser beneficiosa para obtener la carrera de tus sueños?
R: si, siempre y cuando la actividad extracurricular este relacionada con lo que deseamos ser en un futuro 
</span><span>¿Explica por qué o por qué no?
R: al tratarse de algo relacionado a la carrera que deseamos tendremos ya un conocimiento de lo que deberemos aprender y asi lograremos adaptarnos mas facilmente

</span></span></span>
3 0
3 years ago
Other questions:
  • You do not need to use any functions beyond the main function in this problem. Initialize an array of int with the values: 4, 6,
    12·1 answer
  • Coloumn1; Criteria1: Average of best three marks (CA); CA&gt;=40
    13·1 answer
  • The /tmp directory is a temporary directory and will not exist on a system at all times. True or False?
    15·1 answer
  • What is a 'balanced' dfd?
    5·1 answer
  • What is the most powerful gpu or known as the graphics card in the world?
    8·2 answers
  • 5. Drawing Conclusions If you were a person in
    10·1 answer
  • When an instrument in the dashboard of your car informs you the air pressure in the right rear tire is low, what type of compute
    14·1 answer
  • Write a C++ function using recursion that returns the Greatest Common Divisor of two integers. The greatest common divisor (gcd)
    14·1 answer
  • To configure a router/modem, what type of IP interface configuration should you apply to the computer you are using to access th
    10·1 answer
  • The code on the side is a software solution to the mutual exclusion problem for two processes. It shares two variables:
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!