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
leonid [27]
3 years ago
8

Suppose in a class of 100 students, there is a homework due every week. The professor wants to encourage students to hand in the

ir homework early so, for each homework, he gives extra credit to the first 25 students who turn their homework in. The professor wants to have a record of which students get the extra credit for each week. So, for each week, he stores the list of 25 students who will get extra credit for that week. (a) The professor decides to store the results of each week by saving a list of PIDs of the students who got the extra credit. i. How many bits are required to store each result (each list consists of 25 PIDs and one PID is a string with 9 characters and each character can be stored as an 8-bit ASCII code.)? ii. If 1 KB is 8,192 bits, how many weeks of this data can the professor store? iii. Come up with a more efficient way to store PIDs using the fact that the first character is either A or U and the following 8 characters are digits (0,1,...,9).) Show that storing PIDs this way, the professor can almost triple the number of weeks he can store on 1 KB. (b) Devise an encoding scheme that can fit 100 weeks of data into 1 KB. (Describe the scheme and also how many bits you need for each week of data.)
Computers and Technology
1 answer:
disa [49]3 years ago
3 0

Answer:i dont know

Explanation:

You might be interested in
Question # 5
otez555 [7]

Answer:

system software.

Explanation:

a motherboard is a piece of hardware so thats out.

an applications software is software for an app or websie so that can't run an entire machine.

and an output device is like a speaker or monitor so thats not running the show.  

that only leaves the system software. or operating system

4 0
2 years ago
What type of Microsoft Server serves as an email server?
Misha Larkins [42]
I have a feeling you're looking for Microsoft Outlook.
4 0
3 years ago
Read 2 more answers
Write a program that will add the content of two counters every 45 seconds and place the result in an integer register.
nexus9112 [7]

Answer:

Explanation:

The following code is written in Java and runs a thread every 45 seconds that adds the two counters together and saves them in an integer variable called register. Then prints the variable. If this code runs 5 times it automatically breaks the loop. This can be changed or removed by removing the breakLoopCounter variable.

 public static void add_Counters(int counterOne, int counterTwo) {

       int register = 0;

       int breakLoopCounter = 0;

       try {

           while (true) {

               register += counterOne + counterTwo;

               System.out.println(register);

               Thread.sleep(45000);

               breakLoopCounter += 1;

               if (breakLoopCounter == 5) {

                   break;

               }

           }

       } catch (InterruptedException e) {

           e.printStackTrace();

       }

   }

5 0
3 years ago
What is extraction, transformation, and loading? Group of answer choices It is a process of entering data, tracking data, and lo
Tcecarenko [31]

Answer:

It is a process that extracts information from internal and external databases, transforms it using a common set of enterprise definitions, and loads it into a data warehouse.

Explanation:

Extraction, transformation, and loading can be defined as a process that extracts information from internal and external databases, transforms it using a common set of enterprise definitions, and loads it into a data warehouse.

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

A data dictionary can be defined as a centralized collection of information on a specific data such as attributes, names, fields and definitions that are being used in a computer database system.

In a data dictionary, data elements are combined into records, which are meaningful combinations of data elements that are included in data flows or retained in data stores.

This ultimately implies that, a data dictionary found in a computer database system typically contains the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. This records are stored and communicated to other data when required or needed.

7 0
3 years ago
Write the function setKthDigit(n, k, d) that takes three integers -- n, k, and d -- where n is a possibly-negative int, k is a n
liq [111]

Answer:

Explanation:

Let's do this in Python, first we need to convert the number into string in order to break it into a list of character, then we can replace the kth character with d. Finally we join all characters together, convert it to integer then output it

def setKthDigit(n, k, d):

n_string = str(n)

d_char = str(d)

n_char = [c for c in n_string]

n_char[k] = d_char

new_n_string = ''.join(n_char)

return int(new_n_string)

6 0
4 years ago
Other questions:
  • Consider the binary search tree constructed for the words oenology, phrenology, campanology, ornithology, ichthyology, limnology
    14·1 answer
  • T-shaped, square-bottomed, dovetailed, and V-shaped are all types of _______ in a machined part. A. gears B. bolts C. lines D. s
    8·2 answers
  • What are some of the academic benefits of a later start time that Jordan mentions​
    12·1 answer
  • Successful Alignment of IT with Business/Project Prioritization Refer to the readings for this week on aligning IT to the busine
    10·1 answer
  • Edward uses the self-timer drive mode on the camera to set a time delay on the closing of the shutter. What does this mode allow
    9·1 answer
  • Generate a row vector b=[1 2 3 4 5 6 7 8 9 10] using linspace function, give the commands and show print-screen of the result.
    11·1 answer
  • Question 9 (1 point)
    14·1 answer
  • Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance. The calculation is:
    12·1 answer
  • What is the full meaning of Internet and WiFi
    6·2 answers
  • 15. Cinematic tutorials and action-movie camera shots mixed with gameplay and some of the features that have made _____ stand th
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!