• Home
  • Ask directory
  • AP CS
  • December 2024
  • 22

AP CS Q&A Archive of December 22, 2024

Select Question

December 22 of 2024

AWS Cloud Computing Beadline: Jan 6, 2025 11:59 PM \( 69 \% \) Numerical Aptness 214 251 229 219 Save:
You are analyzing the arrival delays of aircraft. Create a visualization of the distribution of the delay, ensuring that the bins of the histogram cover 7 minute intervals. A preview of the arrivals data is shown below. \begin{tabular}{ccc} \multicolumn{3}{c}{ airline delay } \\ 1 & A & 20 \\ 2…
Statistics Fundamentals with R 8/15 Report Issue FIII in the blanks 985 Submit Answer Customers arrive at a grocery at an average of 2 customers per minute. Simulate the arrival of customers for the next 20 minutes. Complete the code to return the output set. seed(42) arrival <write code…
You are analyzing the arrival delays of aircraft. A preview of the arrivals data is shown below. Create a visualization that compares the distribution of the delay for each airline. \begin{tabular}{ccc} \multicolumn{3}{c}{ airline delay } \\ 1 & A & 20 \\ 2 & B & 63 \\ 3 & B & 28 \\ 4 & B & 25…
Complete the code to create the plot of the rating variable in the tv_shows data frame. Complete the code to return the output Library(ggplot2) ggplot(tv_shows, aes( write code here )) + write code here Expected Output
The test_data dataset contains grades from a midterm exam, as well as the time taken by the students to write the exam. There was no time limit on the test so students had no time pressure to finish. Create a density plot of the time taken (Time) by the students. Complete the code to return…
FIII In the blanks \( 88 s \) Submit Answer Complete the code to return the output ``` x <- write code here length(x) X ``` Expected Output [1] 50 [1] True true true true true true true true true true true true true true true [16] True true true true true true true true true true true true…
R Programming 13/15 Report Issue FIll in the blanks 87 s Submit Answer The following code should attempt to execute the error_function() without return any errors when they are generated. Complete the code to return the output ``` error_function <- function() stop("I only generate errors!") t…
R Programming 12/15 Report Issue Multiple Choice 96 s Submit Answer You have written a function customETL along with a second function customETL_efficient. You believe that the second version will run more quickly on average, for instance over 10 attempts, and now want to check this. Which…
R Programming 8/15 Report Issue FIII in the blanks 89 s Submit Answer Use a suitable function to run the mean() on each element of the list vectors, ensuring that missing values are removed and returning a list of values Complete the code to return the output ``` vectors <- list( A = c(9,…
R Programming 4/15 Report Issue FIll in the blanks 87 s Submit Answer Create a long vector of the number 8 with a length of 88 Complete the code to return the output ``` x <- write code here length(x) X ``` Expected Output [1] 88 \[ \begin{array}{l} \begin{array}{llllllllllllll} {[77]} & 8 &…
R Programming 3/15 Report Issue FIII in the blanks 82 s Submit Answer Complete the code to return the output ``` square <- function(x) { if( write code here ){ print("x must be numeric") } else { x ^ 2 } } square("Ten") ``` Expected Output [1] "x must be numeric"
R Programming 4/15 Report Issue FIII in the blanks 85 s Submit Answer Complete the code to return the output ``` for( write code here ){ print (1) } ``` Expected Output ``` [1] 1 [1] 2 [1] 3 [1] 4 [1] 5 [1] 6 [1] 7 [1] 8 [1] 9 [1] 10 ```
R Programming 3/15 Report Issue FIII in the blanks 77 s Submit Answer Complete the code to return the output ``` X <- Write code here ( a = c(1,2,3), b = c('uno', 'dos', 'tres') ) x ``` Expected Output \$a [1] 1223 \$ b [1] "uno" "dos" "tres"
Q4/ A/If \( f(x)=\frac{x^{2}-\cos x}{x+1} \), on \( [0.5,1] \) with tolerance \( 10^{-1} \), then find the approximation root using Newton-Raphson method. B/ find absolute and relative errors, where \( x-0.82412=0 \) is exact
Example 2 BCD-to-Seven-Segment Decoder 7-Segment display (a) Segment designation (b) Numeric designation for display 32 Design Example 2 Seven-Segment Decoder \begin{tabular}{|c|c|} \hline w x y z & abcdefg \\ \hline 00000 & 1111110 \\ \hline & 0110000 \\ \hline 0010 & 1101101 \\ \hline &…
Design a 4-bit synchronous counter that counts the prime integer numbers greater than one and less than 15. The counter shall start counting from the smallest prime integer up to the greatest prime integer in the above range. Once the counter reaches the greatest prim integer, it goes back and…
Project 7: Error Analysis in Numerical Methods 1. Solve a nonlinear equation using multiple methods (Bisection, Newton-Raphson, and Fixed-point iteration). 2. Analyze the convergence rate and error for each method. 3. Solve a linear system using direct methods (Gaussian elimination, LU…
Project 7: Error Analysis in Numerical Methods 1. Solve a nonlinear equation using multiple methods (Bisection, Newton-Raphson, and Fixed-point iteration). 2. Analyze the convergence rate and error for each method. 3. Solve a linear system using direct methods (Gaussian elimination, LU…
\begin{tabular}{|c|c|} \hline & Answer \\ \hline This law deals with the potential speedup of a program using multiple processors compared to a single processor. & \begin{tabular}{l} a. Moore's Law \\ b. Fairchild's Law \\ c. Amdahl's Law \\ d. Von Newman's Law \end{tabular} \\ \hline In this…
Suppose the graph represent the air Map of different cities in the world where the estimated time to travel are: \begin{tabular}{|c|c|} \hline Area Cover & Time(hours) \\ \hline Chengdu to Guangzhou & 2 \\ \hline Chengdu to Kolkata & 5 \\ \hline Chengdu to Kunming & 4 \\ \hline Guangzhou to…
The output should be a single line containing an integer representing the longest time interval in which the plane's height strictly increases, reaches peak height, and then strictly decreases. Explanation For example, if the given space-separated heights \( =214732 \) 51…
1. If \( X=\left[\begin{array}{l}x_{1} \\ x_{2}\end{array}\right] \) and \( A=\left[\begin{array}{cc}a_{11} & 0 \\ 0 & a_{22}\end{array}\right] \). Find \( X^{T}(A X) \). Show that \( \left(X^{T} A\right) X=X^{T}(A X) \). 2. Show that \( A I=A \), given that \( A=\left[\begin{array}{lll}a_{11}…
Determine the types of graphs and find the vertices, edges, neighborhoods, in-degree, Outdegree and depth of graphs. Answer the following for tree: 1. Which vertex is the root? 2. Which vertices are internal? 3. Which vertices are leaves? 4. Which vertices are children of \( j \) ? 5. Which…
1. If \( X=\left[\begin{array}{l}x_{1} \\ x_{2}\end{array}\right] \) and \( A=\left[\begin{array}{cc}a_{11} & 0 \\ 0 & a_{22}\end{array}\right] \). Find \( X^{T}(A X) \). Show that \( \left(X^{T} A\right) X=X^{T}(A X) \). 2. Show that \( A I=A \), given that \( A=\left[\begin{array}{lll}a_{11}…
Problem 3: In the following figure, 2-class (circle or triangle) classification is being considered based on two input features \( f_{1} \) and \( f_{2} \). Our goal is to construct a decision tree using the algorithm described in the class/notes for the data above. For that purpose, pick the…
Draw a circuit for a 4 bit adder subtractor and explain its working.
What is the largest decimal value that can be represented in binary using? (i) one byte and (ii) two byte
Subtract decimal number 12 from decimal 9 using two's complement notation.
Histograms - Given a query: zipcode = " 20742" - Find the bucket (Number 3) - Say the associated count = 45000 - Assume uniform distribution within the bucket: \( 45,000 / 200=225 \)
axes are drawn in the usual way). 69. Find the center of mass of the hemisphere $x^2 + y^2 + z^2 = a^2$, $z \ge 0$, if it has constant density.
Based on the table below (and the related picture), what will be the result according to this formula: =VLOOKUP(A5,A1:B7,2,TRUE) ? QUANTITY (#) DISCOUNT (%) 0 0% 10 1% 20 2% 30 3% 40 4% 50 5% QUANTITY (#) DISCOUNT (%) 0 0% 10 1% 20 2% 30 3% 40 4% 50 5% none of the answers is correct 5% 3% 4% 2%
The following function should swap the values contained in two integer variables, num1 and num2. What, if anything, is wrong with this function? void swap(int num1, int num2) { int temp = num2; num2 = num1; num1 = temp; } You must first initialize temp to 0 before using it. The variable temp…
Qn 1. Apply the Digital Logic Concepts and implement the following Gates: (i)NAND GATE (ii)NOR GATE (iii)EX-OR GATE (iv) EX-NOR GATE (10 marks) (K1(3),S1(3),S2(4)) a. Draw the logic diagram for each gate (2 marks) b. Write the truth table for each gate. (2 marks) c. Write the procedure to set…
EXERCISE: CREATE A MINIMAL, PREFIX-FREE ENCODING FOR THE FOLLOWING CHARACTER- FREQUENCY PAIRS: 'a' 20,000 'b' 4,000 'c' 1,000 'd' 17,000 'e' 25,000 'f' 2,000 'g' 3,000 'h' 28,000 NOTE: YOU WILL NEED TO MAINTAIN THE PRIORITY QUEUE, ORDERED BY FREQUENCIES.
Who is responsible for the security of various levels of your application architecture? It is identical from cloud service to cloud service and can be treated as consistent across all services. It varies depending on the cloud service, and needs to be mapped out for each and every cloud service…
5 Template Matching (20 points) 26 3 184 75 80 128 72 0 84 89 65 0 200 224 18 170 26 54 47 75 127 52 94 26 68 43 199 81 87 86 0 97 3 9 208 218 23 12 188 176 180 1 2 6 3 0 80 54 39 31 22 40 9 2 5 21 9 12 98 176 211 105 9 3 10 20 18 1 5 2 30 3 Figure 1: Left: gray scale values of a 7 × 9 image.…
John, the system administrator of a web application that uses Apache, decided to create a root jail on /usr/web/bin for the user www-data. What attack was John protecting the web application against? Oa. Directory traversal O b. XSRF Oc. XSS Od. SQL injection
Which of the following IPv6 addresses could be this computer's link-local address? FE80::9C13:4983::8154 2001::B80:0000:0000:D3:9C5AB:CC 2001::4137::1C75:3F57:FE9B FE80::DCC8:2A19:E752:769F
ME 76 Final Project Game of Thrones Military Fleets Cannon Simulation with Graphical User Interface (GUI) Major military fleets in the Seven Kingdoms fire cannons to destroy the enemies in range. Firing cannons into the sea produces no glory in battles. Write a MATLAB program using Graphical…
4. (15 pts) (Graph algorithm) For graph G with nodes V = {A, B, C, D, E, F, G, H} and adjacency matrix given below, answer the following two questions: ABCDEFGH A|0 1 1 0 0 1 0 0 B|0 0 0 1 0 0 0 0 C|1 0 0 0 1 0 0 0 D|1 0 0 0 0 0 0 1 E|1 0 0 0 0 1 1 1 F|0 1 0 0 0 0 1 0 G|0 0 0 0 0 0 0 0 H|1 0 0…
Which current NATO member was NOT a member of the Warsaw Pact? Hungary Croatia Romania Poland Bulgaria
4 Consider the figure below. The IP and MAC addresses are shown for nodes A, B, C and D, as well as for the router's…
Which one of the following statements is not true of working conditions in the early factories? Working conditions could be harsh. Canadian labor laws protected children from harsh treatment. When workers were injured on the job, they were thrown out and replaced. Many workers died from…
10. (a) (1 point) The following is the encryption part of AES in the counter mode. Draw the decryption part of the mode. (b) (1 point) Prove the correctness of the counter mode.
A switch was closed to connect an inductor (7 H), a resistor (87 Ω) and a voltage source (44 V) all in series. Determine magnetic energy (in joules) that will be stored in the inductor after 5.3 s.
An I/O psychologist is tasked with designing a job analysis for a software engineering role. What would be the most critical information to collect? Attendance and punctuality Interpersonal skills with team members Number of lines of code written per day Problem-solving and coding skills…
What is S and what is C in the standard sum of product, then find out what we can use this circuit for? x y z 1 2 4 3 x 8 decoder 0 1 2 3 4 5 6 7 S C I
Question 13 1 pts Which of these describes web applications that pull data from sources to use on a "host" website? Social networking services Mashups/RSS Wikis Blogs
Bölüm 1: Düzenli İfade Tasarımı 1. Aşağıdaki dilleri ifade edecek düzenli ifadeler (regular expressions) yazın: Dil A: "a" ve "b" harflerinden oluşan, ardışık iki "aa" içermeyen tüm dizgeler. Dil B: Boş dizge veya "a" ile başlayıp "b" ile biten tüm dizgeler. Dil C: En az iki "a" ve iki "b"…
4. (10pt) Consider a computer system where the CPU needs to communicate with various I/O devices. The system supports polling, interrupt-driven I/O, and Direct Memory Access (DMA). An application requires frequent data transfers between a storage device and the system memory. The data transfer…
What are the limitations of static/classic analytics? Change is not viable Backend is fixed It is inefficient It takes a lot of time to produce the analysis
Consider the data path below for a single cycle 32-bits MIPS processor Assume that we are executing the following instruction lw $t0, 64($t1) What is the value of the element pointed by arrow number 1 by in hexadecimal? Note that the PC and the content of registers $t0 and $t1 are found in…
True or False? An 8-bit random access memory (RAM) chip has 8 memory cells per address. True False
True or False? 192.168.0.0 to 192.168.255.255 is a private Internet Protocol (IP) address range. True False
Which type of attack involves an attacker secretly listening to communications between two systems? O SQL injection attack O Denial of service attack O Phishing attack O Man-in-the-middle attack
If you are using a private IP address range at home, explain how you are able to access the Internet if you need to have a public IP address to access the Internet.
Which of the following is used to locate data in a database? select query summary query simple query parameter query
Question 6 [4 marks] What is S and what is C in the standard sum of product, then find out what we can use this circuit for? x y z 1 2 4 3 x 8 decoder 0 1 2 3 4 5 6 7 S C
What two skills do you need to be a good cloud architect and make good design decisions? broad knowledge of technology, such as storage, compute, databases, and security the ability to learn as you go when confronted with new ideas detailed knowledge of how each cloud service works significant…
Start b Read$_1$ Push b Push a Read$_2$ b A A Accept Read$_4$ Pop b Read$_3$ Extra Credit: (20 points) 1. Build a Turing Machine that accepts strings that contain the substring bbb (10 points) 2. Draw the transition graph corresponding to the following regular grammar and find the regular…
Qn 2. Analyze the Combinational Circuits of Half Adder and Full adder : (10 marks) (K1(3),S1(4),S2(3)) a. Draw the logic diagram for Half Adder (2 marks) b. Write the truth table for Half Adder (2 marks) c. Draw the logic diagram for full Adder (2 marks) d. Write the truth table for full Adder…
An international airport has five gates of departure thus: 1 - Europe 2- Brazil 3- Africa 4 - Asia 5- United States Every traveler's ticket at the airport bears a number on the cover. The number on the ticket cover corresponds to the traveler's departure gate, which is not obvious. Use the…
--- refers to the hardware and software design, OS, mobile apps, social media integration, and programming languages. Systems Architecture Systems Superstructure Systems Facade Systems Foundation
Which of the following files contains a list of operating systems and the commands used to define the global preferences for the GRUB menu interface? /boot/grub/grub.conf /boot/grub/os.conf /boot/grub/grub.cnf /boot/grub/grub.cfg
Use the construction given in the lecture to give a two state PDA that accepts the (1pt) language generated by this grammar. b) Let $M$ be the PDA over the alphabet $\{a, b, c\}$ and with stack alphabet $\{A, B\}$ given by the following graph. a,A/λ $q_0$ b,λ/B c,B/A Use the procedure given in…
8. (a) (1 point) The following is the encryption part of AES in ECB mode. Draw the decryption part of the mode. (b) (1 point) Prove the correctness of the ECB mode.
Question 32 of 50 Automation of development and deployment processes is critical in a multicloud environment. Automating these processes _____. is similar to the process of rolling out DevOps across your organization, including the cultural changes involved is inconsistent with the use of…
Q4 Backward Reasoning 10 Points Consider the following code and apply backward reasoning. You may assume all variables/values are integers. #L1 precondition: ?? y = -1 # L2 precondition: ?? x = -2 if z == 0: # L3 precondition: ?? y = x * y else: # L4 precondition: ?? y = x x = 0 #postcondition:…
Which Linux shell command deletes or removes a file? mv ps rm rmdir
Scalability involves using multiple cloud providers, whereas elasticity does not. O True O False
Question 9 3 pts One of the first wide area networks was the Advanced Research Projects Agency (ARPA) Network, or ARPANET. When ARPANET was created, it was under a shared sense of trust between academic and government colleagues, with professional accountability and a total lack of anonymity.…
1. Find the Minimum Spanning Tree of the following graph by using a) Prim Algorithm b) Kruskal Algorithm. 5 A C 3 D 4 1 6 3 B E 5
The operator in a central control room has access to all or most set points, process variables and control variables when a DCS is used? True False
Multiple answer 0.5 points Which of the following could serve as an example of a capable guardian as per routine activities theory? (choose all that apply) Password protection A closed-circuit camera system A locked storage vault A security guard An updated anti-virus and anti-hacking software…
Q3-3) Draw the interaction diagram for the following contract: If a collaboration diagram is used, be sure that all messages' sequence numbers are shown. Contract: Register a Student in a course Operation: registerStudent (studentID, courseID) Responsibilities: Register a students in a…
A conditional proposition that is true because the hypothesis is false is said to be trivially true conditionally true true by default vacuously true
Part 4. Data Mining (55 pts.) 1. Association Rule (10 pts) Consider the following transaction database: TransID Items 1 B,E 2 E,F 3 A,B,C,F 4 B,E,F 5 B,C,E,F Suppose that minimum support is set to 40% and minimum confidence to 60%. a) List all frequent (large) TWO itemsets, together with their…
Combine Two Lists Given two provided Lists of Integer called firstList and secondList, combine the elements of both Lists into one new List. • Instantiate a new List, combinedList. • Put each element from firstList into combinedList. • Put each element from secondList into…
Using ONLY THE BASIC PROOF RULES (i.e. Conj, Simp, Add, DS, MP, CP, DN, Contr, and IP) Prove that: $[¬A ∧ (¬A → B) ∧ ((¬A ∧ B) → (B ∧ C ∧ D))] → [A ∨ (B ∧ C)]$ Be careful with your indentation!
14. Given an array of integers where each element represents the maximum number of steps that can be moved forward from that position, write an algorithm to determine if it is possible to reach the last index from the first index. If it is possible, find the minimum number of jumps required to…
Consider binomial tree model. Suppose that $n = 50$, $p = 0.7$, $S(0) = 140$, $u = 0.08$, and $d = -0.04$. What do you think of $S(50)$? Use computer for your calculations and graph. Show your work clearly. Your answer should include 1. Matlab / Python / C / C++ code 2. Output 3. $S(50)$…
NIST Special Publication 800-61 considers denial of service as: an exploit to gain access. all code that causes some harm, including computer viruses, Trojan horses, and spyware. any use of the computer that violates company policies. an attacker crafting packets to cause networks and/or…
The \_\_\_\_\_\_ path name of a file is a concatenation of file names starting with the current directory. O relative O absolute O root O full
Which of the following terms refers to the smallest element of data and has a value of either 0 or 1? Multiple Choice metropolitan area network bandwidth local area network bit
True or False? After imaging a drive, you must always create a hash of the original and the copy. True False
9. Please describe the difference between segmentation and paging approaches for user program memory allocation (20 points)
(e) A is sending data to B with a data rate of 10 Mbps over a noisy channel. The channel will produce a burst error with a maximum burst size of 10 bits, and the minimum gap between errors (the earliest time the next error will happen) is 1 ms. Design an error protection scheme for such system…
Google Drive, Microsoft One Drive, and Dropbox are examples of: Internet of Things (IoT) systems. quantum computing environments. storage area network providers. cloud environments.
What is the internal energy of 1.43 mol of an ideal monatomic gas at 316 K?
Problem 4 (10 points) Simplify the following Boolean expression, ($\overline{A}B$)(AB) + AB, then implement the simplified result using NAND gates. (Hint: Boolean identities in Lecture 12.)
What is the Network ID for the following address? 192.168.10.44 /29 192.168.10.41 192.168.10.47 192.168.10.40 192.168.10.46
Question 2 1 pts Based on the table below (and the related picture), what will be the result according to this formula: =VLOOKUP(B3,B1:D6,3,FALSE) ? STOCK SHARES TICKER COMPANY PRICE OUTSTANDING MMM 3M Co $92.85 691,931,000.00 T AT&T…
What is the average translational kinetic energy of nitrogen molecules at 619 K?
Select all the spectator ions when CuF$_{2(aq)}$ is mixed with K$_2$CO$_{3(aq)}$
What will a compiler do for the following code? /* numItems = 2; /* Total items to buy */ rate = 0.5; */ Ignore numltems = 2, but generate code for rate = 0.5. Generate code for numitems = 2, but ignore rate = 0.5. Ignore both statements. Generate an error.
axes are drawn in the usual way). 69. Find the center of mass of the hemisphere $x^2 + y^2 + z^2 = a^2$, $z \ge 0$, if it has constant density.
Based on the table below (and the related picture), what will be the result according to this formula: =VLOOKUP(A5,A1:B7,2,TRUE) ? QUANTITY (#) DISCOUNT (%) 0 0% 10 1% 20 2% 30 3% 40 4% 50 5% QUANTITY (#) DISCOUNT (%) 0 0% 10 1% 20 2% 30 3% 40 4% 50 5% none of the answers is correct 5% 3% 4% 2%
The following function should swap the values contained in two integer variables, num1 and num2. What, if anything, is wrong with this function? void swap(int num1, int num2) { int temp = num2; num2 = num1; num1 = temp; } You must first initialize temp to 0 before using it. The variable temp…
Qn 1. Apply the Digital Logic Concepts and implement the following Gates: (i)NAND GATE (ii)NOR GATE (iii)EX-OR GATE (iv) EX-NOR GATE (10 marks) (K1(3),S1(3),S2(4)) a. Draw the logic diagram for each gate (2 marks) b. Write the truth table for each gate. (2 marks) c. Write the procedure to set…
EXERCISE: CREATE A MINIMAL, PREFIX-FREE ENCODING FOR THE FOLLOWING CHARACTER- FREQUENCY PAIRS: 'a' 20,000 'b' 4,000 'c' 1,000 'd' 17,000 'e' 25,000 'f' 2,000 'g' 3,000 'h' 28,000 NOTE: YOU WILL NEED TO MAINTAIN THE PRIORITY QUEUE, ORDERED BY FREQUENCIES.
Who is responsible for the security of various levels of your application architecture? It is identical from cloud service to cloud service and can be treated as consistent across all services. It varies depending on the cloud service, and needs to be mapped out for each and every cloud service…
5 Template Matching (20 points) 26 3 184 75 80 128 72 0 84 89 65 0 200 224 18 170 26 54 47 75 127 52 94 26 68 43 199 81 87 86 0 97 3 9 208 218 23 12 188 176 180 1 2 6 3 0 80 54 39 31 22 40 9 2 5 21 9 12 98 176 211 105 9 3 10 20 18 1 5 2 30 3 Figure 1: Left: gray scale values of a 7 × 9 image.…
John, the system administrator of a web application that uses Apache, decided to create a root jail on /usr/web/bin for the user www-data. What attack was John protecting the web application against? Oa. Directory traversal O b. XSRF Oc. XSS Od. SQL injection
Which of the following IPv6 addresses could be this computer's link-local address? FE80::9C13:4983::8154 2001::B80:0000:0000:D3:9C5AB:CC 2001::4137::1C75:3F57:FE9B FE80::DCC8:2A19:E752:769F
ME 76 Final Project Game of Thrones Military Fleets Cannon Simulation with Graphical User Interface (GUI) Major military fleets in the Seven Kingdoms fire cannons to destroy the enemies in range. Firing cannons into the sea produces no glory in battles. Write a MATLAB program using Graphical…
4. (15 pts) (Graph algorithm) For graph G with nodes V = {A, B, C, D, E, F, G, H} and adjacency matrix given below, answer the following two questions: ABCDEFGH A|0 1 1 0 0 1 0 0 B|0 0 0 1 0 0 0 0 C|1 0 0 0 1 0 0 0 D|1 0 0 0 0 0 0 1 E|1 0 0 0 0 1 1 1 F|0 1 0 0 0 0 1 0 G|0 0 0 0 0 0 0 0 H|1 0 0…
Which current NATO member was NOT a member of the Warsaw Pact? Hungary Croatia Romania Poland Bulgaria
4 Consider the figure below. The IP and MAC addresses are shown for nodes A, B, C and D, as well as for the router's…
Which one of the following statements is not true of working conditions in the early factories? Working conditions could be harsh. Canadian labor laws protected children from harsh treatment. When workers were injured on the job, they were thrown out and replaced. Many workers died from…
10. (a) (1 point) The following is the encryption part of AES in the counter mode. Draw the decryption part of the mode. (b) (1 point) Prove the correctness of the counter mode.
A switch was closed to connect an inductor (7 H), a resistor (87 Ω) and a voltage source (44 V) all in series. Determine magnetic energy (in joules) that will be stored in the inductor after 5.3 s.
An I/O psychologist is tasked with designing a job analysis for a software engineering role. What would be the most critical information to collect? Attendance and punctuality Interpersonal skills with team members Number of lines of code written per day Problem-solving and coding skills…
What is S and what is C in the standard sum of product, then find out what we can use this circuit for? x y z 1 2 4 3 x 8 decoder 0 1 2 3 4 5 6 7 S C I
Question 13 1 pts Which of these describes web applications that pull data from sources to use on a "host" website? Social networking services Mashups/RSS Wikis Blogs
Bölüm 1: Düzenli İfade Tasarımı 1. Aşağıdaki dilleri ifade edecek düzenli ifadeler (regular expressions) yazın: Dil A: "a" ve "b" harflerinden oluşan, ardışık iki "aa" içermeyen tüm dizgeler. Dil B: Boş dizge veya "a" ile başlayıp "b" ile biten tüm dizgeler. Dil C: En az iki "a" ve iki "b"…
4. (10pt) Consider a computer system where the CPU needs to communicate with various I/O devices. The system supports polling, interrupt-driven I/O, and Direct Memory Access (DMA). An application requires frequent data transfers between a storage device and the system memory. The data transfer…
What are the limitations of static/classic analytics? Change is not viable Backend is fixed It is inefficient It takes a lot of time to produce the analysis
Consider the data path below for a single cycle 32-bits MIPS processor Assume that we are executing the following instruction lw $t0, 64($t1) What is the value of the element pointed by arrow number 1 by in hexadecimal? Note that the PC and the content of registers $t0 and $t1 are found in…
True or False? An 8-bit random access memory (RAM) chip has 8 memory cells per address. True False
True or False? 192.168.0.0 to 192.168.255.255 is a private Internet Protocol (IP) address range. True False
Which type of attack involves an attacker secretly listening to communications between two systems? O SQL injection attack O Denial of service attack O Phishing attack O Man-in-the-middle attack
If you are using a private IP address range at home, explain how you are able to access the Internet if you need to have a public IP address to access the Internet.
Which of the following is used to locate data in a database? select query summary query simple query parameter query
Question 6 [4 marks] What is S and what is C in the standard sum of product, then find out what we can use this circuit for? x y z 1 2 4 3 x 8 decoder 0 1 2 3 4 5 6 7 S C
What two skills do you need to be a good cloud architect and make good design decisions? broad knowledge of technology, such as storage, compute, databases, and security the ability to learn as you go when confronted with new ideas detailed knowledge of how each cloud service works significant…
Start b Read$_1$ Push b Push a Read$_2$ b A A Accept Read$_4$ Pop b Read$_3$ Extra Credit: (20 points) 1. Build a Turing Machine that accepts strings that contain the substring bbb (10 points) 2. Draw the transition graph corresponding to the following regular grammar and find the regular…
Qn 2. Analyze the Combinational Circuits of Half Adder and Full adder : (10 marks) (K1(3),S1(4),S2(3)) a. Draw the logic diagram for Half Adder (2 marks) b. Write the truth table for Half Adder (2 marks) c. Draw the logic diagram for full Adder (2 marks) d. Write the truth table for full Adder…
An international airport has five gates of departure thus: 1 - Europe 2- Brazil 3- Africa 4 - Asia 5- United States Every traveler's ticket at the airport bears a number on the cover. The number on the ticket cover corresponds to the traveler's departure gate, which is not obvious. Use the…
--- refers to the hardware and software design, OS, mobile apps, social media integration, and programming languages. Systems Architecture Systems Superstructure Systems Facade Systems Foundation
Which of the following files contains a list of operating systems and the commands used to define the global preferences for the GRUB menu interface? /boot/grub/grub.conf /boot/grub/os.conf /boot/grub/grub.cnf /boot/grub/grub.cfg
Use the construction given in the lecture to give a two state PDA that accepts the (1pt) language generated by this grammar. b) Let $M$ be the PDA over the alphabet $\{a, b, c\}$ and with stack alphabet $\{A, B\}$ given by the following graph. a,A/λ $q_0$ b,λ/B c,B/A Use the procedure given in…
8. (a) (1 point) The following is the encryption part of AES in ECB mode. Draw the decryption part of the mode. (b) (1 point) Prove the correctness of the ECB mode.
Question 32 of 50 Automation of development and deployment processes is critical in a multicloud environment. Automating these processes _____. is similar to the process of rolling out DevOps across your organization, including the cultural changes involved is inconsistent with the use of…
Q4 Backward Reasoning 10 Points Consider the following code and apply backward reasoning. You may assume all variables/values are integers. #L1 precondition: ?? y = -1 # L2 precondition: ?? x = -2 if z == 0: # L3 precondition: ?? y = x * y else: # L4 precondition: ?? y = x x = 0 #postcondition:…
Which Linux shell command deletes or removes a file? mv ps rm rmdir
Scalability involves using multiple cloud providers, whereas elasticity does not. O True O False
Question 9 3 pts One of the first wide area networks was the Advanced Research Projects Agency (ARPA) Network, or ARPANET. When ARPANET was created, it was under a shared sense of trust between academic and government colleagues, with professional accountability and a total lack of anonymity.…
1. Find the Minimum Spanning Tree of the following graph by using a) Prim Algorithm b) Kruskal Algorithm. 5 A C 3 D 4 1 6 3 B E 5
The operator in a central control room has access to all or most set points, process variables and control variables when a DCS is used? True False
Multiple answer 0.5 points Which of the following could serve as an example of a capable guardian as per routine activities theory? (choose all that apply) Password protection A closed-circuit camera system A locked storage vault A security guard An updated anti-virus and anti-hacking software…
Q3-3) Draw the interaction diagram for the following contract: If a collaboration diagram is used, be sure that all messages' sequence numbers are shown. Contract: Register a Student in a course Operation: registerStudent (studentID, courseID) Responsibilities: Register a students in a…
A conditional proposition that is true because the hypothesis is false is said to be trivially true conditionally true true by default vacuously true
Part 4. Data Mining (55 pts.) 1. Association Rule (10 pts) Consider the following transaction database: TransID Items 1 B,E 2 E,F 3 A,B,C,F 4 B,E,F 5 B,C,E,F Suppose that minimum support is set to 40% and minimum confidence to 60%. a) List all frequent (large) TWO itemsets, together with their…
Combine Two Lists Given two provided Lists of Integer called firstList and secondList, combine the elements of both Lists into one new List. • Instantiate a new List, combinedList. • Put each element from firstList into combinedList. • Put each element from secondList into…
Using ONLY THE BASIC PROOF RULES (i.e. Conj, Simp, Add, DS, MP, CP, DN, Contr, and IP) Prove that: $[¬A ∧ (¬A → B) ∧ ((¬A ∧ B) → (B ∧ C ∧ D))] → [A ∨ (B ∧ C)]$ Be careful with your indentation!
14. Given an array of integers where each element represents the maximum number of steps that can be moved forward from that position, write an algorithm to determine if it is possible to reach the last index from the first index. If it is possible, find the minimum number of jumps required to…
Consider binomial tree model. Suppose that $n = 50$, $p = 0.7$, $S(0) = 140$, $u = 0.08$, and $d = -0.04$. What do you think of $S(50)$? Use computer for your calculations and graph. Show your work clearly. Your answer should include 1. Matlab / Python / C / C++ code 2. Output 3. $S(50)$…
NIST Special Publication 800-61 considers denial of service as: an exploit to gain access. all code that causes some harm, including computer viruses, Trojan horses, and spyware. any use of the computer that violates company policies. an attacker crafting packets to cause networks and/or…
The \_\_\_\_\_\_ path name of a file is a concatenation of file names starting with the current directory. O relative O absolute O root O full
Which of the following terms refers to the smallest element of data and has a value of either 0 or 1? Multiple Choice metropolitan area network bandwidth local area network bit
True or False? After imaging a drive, you must always create a hash of the original and the copy. True False
9. Please describe the difference between segmentation and paging approaches for user program memory allocation (20 points)
(e) A is sending data to B with a data rate of 10 Mbps over a noisy channel. The channel will produce a burst error with a maximum burst size of 10 bits, and the minimum gap between errors (the earliest time the next error will happen) is 1 ms. Design an error protection scheme for such system…
Google Drive, Microsoft One Drive, and Dropbox are examples of: Internet of Things (IoT) systems. quantum computing environments. storage area network providers. cloud environments.
What is the internal energy of 1.43 mol of an ideal monatomic gas at 316 K?
Problem 4 (10 points) Simplify the following Boolean expression, ($\overline{A}B$)(AB) + AB, then implement the simplified result using NAND gates. (Hint: Boolean identities in Lecture 12.)
What is the Network ID for the following address? 192.168.10.44 /29 192.168.10.41 192.168.10.47 192.168.10.40 192.168.10.46
Question 2 1 pts Based on the table below (and the related picture), what will be the result according to this formula: =VLOOKUP(B3,B1:D6,3,FALSE) ? STOCK SHARES TICKER COMPANY PRICE OUTSTANDING MMM 3M Co $92.85 691,931,000.00 T AT&T…
What is the average translational kinetic energy of nitrogen molecules at 619 K?
Select all the spectator ions when CuF$_{2(aq)}$ is mixed with K$_2$CO$_{3(aq)}$
What will a compiler do for the following code? /* numItems = 2; /* Total items to buy */ rate = 0.5; */ Ignore numltems = 2, but generate code for rate = 0.5. Generate code for numitems = 2, but ignore rate = 0.5. Ignore both statements. Generate an error.
1 ... 2 3 4 5 6