In: Computer Science
1. Represent following floating-point numbers in IEEE single-precision (32-bit) format: a. -0.1875, b. 0.46875
2. What is the decimal value of the following IEEE single-precision (32-bit) floating-point numbers (which are shown in hexadecimal)? a. 3F400000, b. BE000000
In: Computer Science
Assuming integers are represented as 32-bit words and negative numbers are represented using the 2's complimentary method convert the following decimal numbers to hexadecimal numbers (show your work). a. -1314, b. 2020
In: Computer Science
Assuming integers are represented as 16-bit words and negative numbers are represented using the 2's complementary method, convert the following hexadecimal numbers to decimal numbers a. 0xCAFE, b. 0x4DAD, c. 0xFACE
In: Computer Science
Research and describe
1. User Interface (UI) best practices * Describe UI best practices and principles. Provide examples of a few principles that you come across. Provide examples of good and poor UI design.post must be at least 200 words
In: Computer Science
R language
create file Ass2.txt
"("Macauley, Culkin" "Antoine, Doinel" "Ace, Ventura" "Tommy, DeVito" "Oda Mae, Brown" "John, Malkovich" "Sandy, Olsson" "Raymond, Babbitt" "Jack, Sparrow" "Melanie, Daniels" "Stanley, Kowalski" "Darth, Vader" "Jack, Torrance" "Aurora, Greenway" "Sam, Spade" "Hans, Beckert" "Max, Rockatansky" "Tony, Manero")".
a. Import the data into a vector named name and create an email address for each student as follows. The general format of an email address is username (at) domain. For each student, username is the name of the student in lowercase, with a period separating the first name and the last name if a last name is provided; and domain is IloveR.edu. Name the vector that contains the email addresses as email.
b. Export the data in email to a plain-text file named email.txt in the following format: • Use the column names as the header line.
• There should be no quotes or row names. • Use the comma as a separator.
In: Computer Science
Using Python
Define a Student class. A Student class needs to have two attributes, the student_name and strudent_grade . It also has three methods as follows: set_grade(grade) that sets the grade of the student. get_grade returns the grade of the student. print_student_info that print the name and grade of student in a formatted string.
In the math_utils.py file define a function called average_grade(roster) . This method accepts as input a list of Student Objects and returns the average of the current roster.
In the app.py file, create a main function, to create a roster of 10 students, print the list of students, and print the average score of the current roster. You can either populate the student roster interactively (i.e. by using the input method to prompt the user from the console) or hard-code the student information in your code.
The app.py file must use the Student class, and the average_grade method you defined the mymodules module.
In: Computer Science
Before you begin your program: Create a text file in your project folder with 20 "quirky sayings"/fortunes (the only requirement is that they be appropriate for display in class), In your program you will Create a list by reading those 20 fortunes from your file Ask the user how many fortunes he/she wants to see. store the value in a variable Inside of a loop (loop as many times as the user asked) select a random answer from your list of fortunes wait for the user to press the enter key (the easy way is to use the Scanner's nextLine method) Note that it is quite possible that you will see some fortunes more than once while not seeing some at all.
In: Computer Science
Write a function matrix_power(A, n) that computes the power An using Boolean arithmetic and returns the result. You may assume that A is a 2D list containing only 0s and 1s, A is square (same number of rows and columns), and n is an integer ≥ 1. You should call your previously written matrix multiply boolean function.
Example: Let R = [ [0, 0, 0, 1], [0, 1, 1, 0], [0, 0, 0, 1], [0, 0, 1, 0] ]
Then calling matrix power(R, 2) should return [ [0, 0, 1, 0], [0, 1, 1, 1], [0, 0, 1, 0], [0, 0, 0, 1] ]
**This is to be written in a python code.
In: Computer Science
QUESTION 31
In Classic Three-Layer Hierarchical Model, the ___________ layer connects network services to the lower layer and implements policies regarding security, traffic loading, and routing.
|
Access |
||
|
Distribution |
||
|
Core |
||
|
User |
QUESTION 32
Which of the following is a RFC1918 address?
|
172.168.1.1 |
||
|
192.168.255.1 |
||
|
192.16.1.1 |
QUESTION 33
In modern network design, a _________ has become a method to subdivide physical switch-based LANs into many logical LANs.
|
STP |
||
|
VLAN |
||
|
DTP |
||
|
VTP |
|
"Test, optimize, and document design", "Monitor and optimize network performance", "Develop logical design" |
||
|
"Develop logical design", "Monitor and optimize network performance" , "Test, optimize, and document design" |
||
|
"Develop logical design", "Test, optimize, and document design", "Monitor and optimize network performance" |
||
|
"Monitor and optimize network performance", "Develop logical design", "Test, optimize, and document design" |
QUESTION 35
Performance can be expressed as a percent uptime per year, month, week, day, or hour, compared to the total time in that period.
True
False
QUESTION 36
Throughput is the data carrying capacity of a circuit.
True
False
QUESTION 37
Route summarization is the method of including many subnets in a few routing entries. It helps conserve routers memory and bandwidth when updating network routes.
True
False
QUESTION 38
When characterizing addressing, any address oddities, such as Discontiguous Subnets, should be noted down for analysis.
True
False
QUESTION 39
_________ provides the following management services:
|
Fault management |
||
|
Configuration management |
||
|
Accounting management |
||
|
Performance management |
QUESTION 40
The network should not fail more than once every 100 days and it should be fixed within 5 hours. Which of the following is the availability of this network?
| A. |
99.79% |
|
| B. |
99.89% |
|
| C. |
99.69% |
|
| D. |
99.99% |
In: Computer Science
Write a program (name it firstMiddleLast _yourInitials.java (yourInitials represents your initials) that will:
1. Ask the user (include appropriate dialog) to enter their:
first name
middle name
last name
save each of the above as a String variable as follows:
firstName
middleName
lastName
2. Print to the screen the number of characters in each of the
names (first, middle and last)
3. Print to the screen total number of characters in all three names. Include appropriate dialog in your output.
4. Print to the screen the initials of the person (first letter of the first, middle and last names) in all capitals with no space or lines between them. For example JFK.
5. Print to the screen the total of the ASCII values of the initials printed in #4 above. For example the initials JFK would sum to 219 (74 + 70 + 75). Remember that the ASCII values are as follows and to find the ASCII value of a single character by casting the character to an int by using (int).
|
A |
65 |
N |
78 |
|
B |
66 |
O |
79 |
|
C |
67 |
P |
80 |
|
D |
68 |
Q |
81 |
|
E |
69 |
R |
82 |
|
F |
70 |
S |
83 |
|
G |
71 |
T |
84 |
|
H |
72 |
U |
85 |
|
I |
73 |
V |
86 |
|
J |
74 |
W |
87 |
|
K |
75 |
X |
88 |
|
L |
76 |
Y |
89 |
|
M |
77 |
Z |
90 |
In: Computer Science
Please note: This is in Visual Basic.
Create an application. Add two text boxes, a label, and a button to the form. The button’s Click event procedure should assign the contents of the text boxes to Double variables named dblNum1 and dblNum2. It then should divide the dblNum1 variable’s value by the dblNum2 variable’s value, assigning the result to a Double variable named dblAnswer. Display the answer in the label. Code the procedure. Save the solution and then start the application. Test the application using the numbers 6 and 2; the number 3 appears in the label control. Now test it using the numbers 6 and 0. The infinity symbol (∞) appears in the label control because the application is trying to divide a number by 0. Add a selection structure to the procedure. The selection structure should perform the division and display the quotient only if the value in the dblNum2 variable is not 0; otherwise, it should display N/A in the label. Save the solution and then start and test the application. Close the solution.
In: Computer Science
2CCA : E-Discovery: Don't Be Afraid to Be Smart—Select While You Collect ? 2-3 paragraphs in length
In: Computer Science
Scientific Computing Course - please explain in detail
PI has a value of 3.14159.... Round PI to 4 decimal places using
chopping and then again using rounding.
What are the relative errors of using chopping and rounding?
In: Computer Science
TwoNumbersAddTo 1. write a class called TwoNumbersAddTo with a main method 2. the program asks for a number (lets call it "goal"). 3. then the program reads at most 20 integers (i.e. any number of integers from 0 to 20) 4. the program stops reading when user enters 0 or user has entered 20 numbers. 5. program prints all the pairs that add up to goal. 6. Notice that if goal is 5, for example, 1 + 4 and 4 + 1 are the same pair. Your program should report only one. 7. The pairs should be printed such that the first number is in the same order in which it was entered. For example: % java TwoNumbersAddTo enter goal: 5 enter at most 20 integers, end with 0: 1 2 3 4 5 0 1 + 4 = 5 2 + 3 = 5 % java TwoNumbersAddTo enter goal: 5 enter at most 20 integers, end with 0: 4 3 2 1 0 4 + 1 = 5 3 + 2 = 5
In: Computer Science