Questiona file has r 20000 student records of permanent

Assignment Help Computer Engineering
Reference no: EM13348425

Question

A file has r = 20,000 STUDENT records of permanent length. Each record has following fields-

Name (30 bytes), Ssn (9 bytes), Address (40 bytes), PHONE (10 bytes), Birth_date (8 bytes), Sex (1 byte), Major_dept_code (4 bytes), Minor_dept_code (4 bytes), Class_code (4 bytes, integer), and Degree_program (3 bytes).An extra byte is used as a removal marker. The file is stored on disk whose parameters are given -

a. Calculate record size R in bytes.

b. Calculate blocking factor bfr and the number of file blocks b, assume an unspanned organization.

c. Calculate average time it takes to discover a record by doing a linear search on the file if

(i) the file blocks are stored contiguously, and double buffering is used;

(ii) the file blocks are not stored closely.

d. Assume that the file is ordered by Ssn; by doing a binary search, compute the time it takes to search for a proof given its Ssn value.

 

Reference no: EM13348425

Questions Cloud

Question 1a i describe briefly a good handling technique : question 1a i describe briefly a good handling technique that can be adopted by a person who is required to lift a load
Question1 what are three goals of safety in computing for : question1. what are three goals of safety in computing? for each goal list two controls that be able to be implemented
Questionthe averaging algorithm proposed by lamport et al : questionthe averaging algorithm proposed by lamport et al. works for a totally connected network of clocks. will such
Questiontroubleshooting dns records-you have been hired to : questiontroubleshooting dns records-you have been hired to decide cause of e-mail and web site outages at a local
Questiona file has r 20000 student records of permanent : questiona file has r 20000 student records of permanent length. each record has following fields-name 30 bytes ssn 9
Questionfor this module you will require to complete : questionfor this module you will require to complete following tasks. this section will be additional to the end of
Questionwrite down a program which asks user to respond to : questionwrite down a program which asks user to respond to a question by entering either 1 for yes or 2 for no. use a
Questionfor each of following schedules state and : questionfor each of following schedules state and illustrate precedence graph whether schedule is serializable or
Question 1you are a newly recruited safety officer in a : question 1you are a newly recruited safety officer in a medium sized company involved in the manufacturing of

Reviews

Write a Review

Computer Engineering Questions & Answers

  Express what is a keyword in a programming language

Why explantion of a variable is considered to be an important.

  The difference between subnetting and supernetting

give the importance of subnetting with respect to collisions, broadcasts and controlling traffic. Discuss the difference between subnetting and supernetting.

  Creating a new domain tree root checkbox

In case, I select the “Create a new domain tree root checkbox” in place of the “Create a new child domain checkbox”, how would configuration of the forest be different?

  Why the pivot is then moved to the end

why The pivot is then moved to the end and partition is performed, then after the partition, the pivot moves to its rightful place.

  Find cause of problems with the users'' personal computers

You are the first-level help desk technician at a medium-sized company. Your job is to handle the initial calls from company computer users with personal computer related problems.

  Using a lock guarantees that deadlock cannot occur

Once a Lock has been obtained by a thread, the Lock object will not allow another thread to obtain lock until the first thread releases it.

  An approximation to a zero of a continuous function

provide a pseudocode for the bisection method algorithm Bise(f(x),a,b,error) for finding an approximation to a zero of a continuous function f(x) in the interval [a, b] accurate to within error.

  How to identify as important to the process

How important is it to have an established process while implementing a new technology into an organization.

  Design the program in vb.net

Write down the program in VB.Net (not Web based) using a loan amount of $200,000 with an interest rate of 5.75% and a 30 year term. Display the mortgage payment amount. Insert comments to document the program.

  Discuss software testing as a career path in brief

discuss software testing as a career path in brief. The techniques for solving linear equations and linear inequalities are similar, yet different. Explain and give an example of both a linear equation and a linear inequality that demonstrates this..

  Offer the average and worst case running time

offer the average and worst case running time and the space requirements.

  Constructing truth table of converter circuit

Construct the truth table of the converter circuit using character a , b, c and d (d represents Least Significant Bit) in order to denote the literals input of BCD. Use w, x, y and z (z as Least Significant Bit) in order to represent the output li..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd