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

AP CS Q&A Archive of December 20, 2024

Select Question

December 20 of 2024

Which of the following is a valid reason for a company to choose a public cloud computing environment? A Provides Flexible computing capacity B Provides increased Security C Guarantees more consistent Response times (performance) D All of the Above Question 32 Pseudocode is used to describe the…
Immutable objects in Java: Allow modifications on their content Do not allow modifications on their content Can be cloned without restrictions Support dynamic memory allocation
Part B [14 pts] The RSA cryptosystem Wessam uses the RSA cryptosystem from the prime number theory to allow people to send encrypted messages. Wessam selects the parameters: $p = 17$ $q = 41$ $e = 61$ 1. [7 Pts] Support Wessam by calculating the private key. Calculate and state the private…
From an e-commerce perspective, businesses are not financially liable for fraudulent transactions A True B False
Question 1 [60 points]: Implement the following class. Refer to the below notes for more details. Employee -name: String //could be formed of more than two words -empID: String -gender: char -address: String -salary: double -nbOfChildren: int -nbOfEmp: int +Employee(String: name, char: g,…
What is the de facto guide for a financial institution that wants to ensure it has a GLBA-compliant information security program that meets regulatory expectations? A. AAOFI B. FFIEC C. OOPS D. WRYC
What are the two components of positioning time? seek time + rotational latency transfer time + transfer rate cylinder positioning time + disk arm positioning time effective transfer rate - transfer rate
In which era hacking was a positive term? After mid 1990s Early 1960s to 1970s None of these 1970s to mid 1990s
Which of the following cloud service models is best for businesses seeking ready-to-use software without managing infrastructure? PaaS IaaS DBaaS SaaS
Modify styles.css so the provided HTML produces the webpage below. BEST-SELLING VIDEO GAMES Title Sales Release Date Minecraft 176,000,000 November 18, 2011 Tetris 170,000,000 June 6, 1984 Grand Theft Auto V 110,000,000 September 17, 2013 Wii Sports 82,870,000 November 19, 2006 Source:…
9. $x \to y$ $y \to z$ $\therefore x \to z$
A business case is a justification for making or continuing to make an investment in a new or ongoing information system. A True B False
Learning Goal: To calculate the component values for high-Q bandpass and bandreject filters to meet frequency domain specifications. The figures show a high-Q bandpass filter (top) and a high-Q bandreject filter (bottom). Part A - Designing the high-Q bandpass filter By specifying $R_1$, $R_2$,…
A computer virus is a destructive program that disrupts the normal functioning of information systems and spreads from one computer to the next. A) True B) False Question 28 What Network type would most likely be used in a small business? A Personal Area Network (PAN) B Local Area Network…
Question 16 In the unsafe unlink attack, we have the following figure of concept: P P->bk->fd P->bk P->fd P->fd->bk P->fd->bk = P->bk P->bk->fd = P->fd In order to perform the unsafe unlink attack: (1) The attacker must use buffer overflow to corrupt P->bk. True (2) If P->bk can be overwritten,…
Internal network having three departments: HR, Admin and Finance Server1 Server0 Adminstration-1 PC#1 Adminstration-2 PC#2 Finance-1 PC#3 Finance-2 PC#4 HR-1 PC#5 HR-2 PC#6 Switch Router0 Router1 Router2 Router3 Internet Switch1 Switch2 PC#7 Normal web server user Remote Employee Firewall 1941…
Given an array [6, 5, 4, 3], one is to perform quick sort on the whole array, using the last element as the pivot. Please list the first three arrays in the sorting process. Step 1 Step 2 Step 3
Thermal noise cannot be prevented. Select one: True False Thermal noise cannot be prevented. Select one: True False
Suppose the following code is in an application program that uses the deep copy array class: int main() { Array *ptr = new Array[3]{Array(3), Array(3), Array(3)}; delete[] ptr; } What is the output of this program? NOTE: All of the constructors and the destructor in the array class have a cout…
Question 43 1 pts The following code with the delay function with the wiringPi library will pause the program for 1.75 seconds: mov r0, #1750 bl delay True False
What is the main difference between preemptive and non-preemptive scheduling? Preemptive scheduling allows processes to be interrupted, while non-preemptive scheduling does not. Preemptive scheduling is more efficient than non-preemptive scheduling. Non-preemptive scheduling is more fair than…
2. On the Formulas sheet, in cell D3, enter a formula to return the sum of the overtime paid for employees in the IT department. Use the defined names for the array ranges.
What is the IEEE754 32-bit single precision representation of the hexadecimal code (AB)$_{16}$? 0 1000 0110 01010110000000000000000 0 1000 0110 01010100000000000000000 0 1000 0110 01110110000000000000000 0 1000 0110 01110100000000000000000
code class="asciimath">\lim_(x->\infty )\sqrt(x)*sin((1)/(x)) $\lim_{x \to 0} \sqrt{x} \cdot \sin \frac{1}{x}$
RAQ9: Given the following heap, assuming heap entries start at index 1, 68 15/ \40 10/ \8 32/ what will be the content of the corresponding array representation of the heap? 68,15,10,8,40,35 8,10,15,35,40,68 68,15,40,10,8,35 68,40,35,15,10,8
Q4:(3.1)Consider the grammar with productions $S \to AC | CB$, $C \to aCb | \lambda$, $A \to aA | a$, $B \to bB | b$ (2 marks) Use leftmost derivation to show that the string abbb is in the language generated by this grammar (S is the start symbol).
A for loop provides a convenient way to create a(n) \_\_\_\_\_ loop. counter-controlled infinite while posttest
Use K-map to simplify the expression $A'B'C' + A'B'CD + A'BC' + A'BCD + A'BCD' + AB'C'$. The output is a. $A'D + A'B + B'C$ b. $A'D + A'B + B'C'D$ c. $A'D + AB + B'C'$ d. $A'D + A'B + B'C'$
You are given a graph that has 9 nodes, numbered 1 to 9, and the following edges in sorted order by weight: (2, 9), (1, 3), (4, 6), (2, 8), (3, 6), (5, 6), (3, 4), (2, 7), (7, 9), (1, 6), (4, 5). Run Kruskal's algorithm using a union-find array and update that array by processing the edges in…
Problem 2: Load the data set Q consisting of a single explanatory variable $x$ and dependent variable $y$. 1. Shuffle the rows of Q and separate the data into a test set and training set. Use 30% of the data for the testing set and the remaining 70% for training set. [42]: Q =…
1. Determine the best method for solving (0-1)-Knapsack problem, and then use it to solve the problem with capacity weight= 7, and the following instances. Item I1 I2 I3 I4 Weight 1 3 4 5 Value 1 4 5 7
When you import data from a text file using a delimiter, each data field is imported into a separate O Row O Column O Header O Filter
6 Where is information physically stored on a computer? On a drive On a server In the cloud In a folder
How many bits are contained within a 128x7 RAM? a. 56 b. 7168 c. 128 d. 49 e. 896
Free software that comes with the source code that users may modify and redistribute Freeware Shareware Educational Open source
Detective Jones is investigating a fraud scheme where a telephone caller asks for the person's credit card number, so a transaction can be run again. The suspects appear to be calling women in their fifties and sixties who live alone and shop at a particular pharmacy. He requests the chief…
QUESTION 23 Jennifer sometimes can be argumentative, which represents a "state" trait. True False QUESTION 24
Question 11 When an application uses many components, instead of extending just one class from the JFrame class, a better approach is to: reconsider the design of the application just go ahead and do it in one large class break the application into several smaller applications encapsulate…
Which of the following best defines the role of a data mart? A centralized repository for all company data A system for real-time data processing A tool for encrypting sensitive information in the database A subset of a data warehouse focused on a specific business area
Question 5 To format a cell so that text that exceeds the column width will create a new line in the same cell, you can change the row height. True False 1 pts
Important Note: You must consider the Order of Operations. Use parenthesis to control the order of operations in your formulas. Enter your formula in Column B shaded in Blue. tem Sales Price Cost Sold Pants $ 49.99 $ 26.34 156 Shirt $ 41.99 $ 16.58 233 Socks $ 6.99 $ 2.13 123 Jacket $ 69.99 $…
Dataset: A dataset with student study habits: Student ID Hours Studied per Week Number of Practice Tests Taken Final Exam Score 1 10 2 50 2 20 4 80 3 15 3 65 4 5 1 40 5 25 5 90 Question 2: Propose a model using k-Nearest Neighbors (k-NN) to predict a student's exam score based on their study…
Which data extraction method is most appropriate to retrieve real-time data from social media platforms (such as Twitter/X) through an authorized access? Web crawling Streaming API REST API None
What is a private cloud? A cloud service provided exclusively by a single vendor. A cloud environment accessible by the general public. A combination of on-premises infrastructure and public cloud services. A cloud environment dedicated to a single organization.
4. Using recursion, write a program that takes a positive integer input and produces the Fibonacci value for that input as the output. For this question, you MUST use recursion. DO NOT use any for/while loops. As a reminder, the Fibonacci sequence starts with 0 and 1. Example…
Problem 7 (6 points) (a) Give an example of a context-free language whose complement is not context-free. Give a precise definition of this language and explain your answer. If such a language does not exist, explain why. Answer: (b) Give an example of a regular language that has a subset which…
McCullough has a monopoly on rental dwellings in the local community. The demand for rental dwellings is $Q_D = 70,000 - 50P \iff P = 1400 - 0.02Q_D$. The resulting marginal revenue function is $MR(Q) = 1,400 - 0.04Q_D$. McCullough's marginal cost of providing rental dwellings is $MC(Q) = 0.01Q…
8. Suppose we have the instruction Load 1000. given memory and register R1 contain the values below: Memory 0x1000 0x1400 R1 0x200 0x1100 0x400 0x1200 0x1000 0x1300 0x1100 0x1400 0x1300 and assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the…
A ______ follows Internet design protocols and enables a company to integrate new applications into its ecommerce strategy. web-centric architecture thin client data processing center corporate portal
Question 14 8 pts Suppose we are performing a use-after-free attack on Fast bins, and current vulnerable program has the following memory layout: pwndbg> p &malloc_hook $1 = (void *(**)(size_t, const void *)) 0xf7e2db34 <malloc_hook> pwndbg> x/100x 0xf7e2db30 0xf7e2db30…
(4) (5 points) Consider the following Bayesian network of 6 variables. Set $X = B$ and $Y = E$. Specify a set $Z$ such that: $X \perp\kern-5pt\perp Y | Z$ (in other words, $X$ is independent of $Y$ given $Z$). (i) $Z = \{A\}$ (ii) $Z = \{C\}$ (iii) $Z = \{F\}$
Question 18 1 pts Which of the following statements accurately describes Uniform Memory Access (UMA) and Nonuniform Memory Access (NUMA) multiprocessors? Both UMA and NUMA multiprocessors have variable latency for memory access depending on which processor requests the access. UMA…
Match the three types of values in a spreadsheet to their type of data. Prompts 1 Numeric constant 2 Formula 3 Function Answers Select match A combination of cell addresses containing numeric constants with standard mathematical operators. Always starts with an equal sign (=). A number (such as…
Which of the following are common character sets used by SQL Server? both a and c Latin I Unicode ASCII
How is IIHI related to ePHI under the HIPAA Security Rule? A ePHI is IIHI B ePHI is not IIHI C ePHI replaces IIHI D IIHI replaces ePHI
21.1 LAB: Remove gray from RGB Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0,…
(3 pts) P1-2: Assume you are given the following loss functions ($L_1(x, y) = x^2 + y^2$), ($L_2(x, y) = -x^2 - y^2$), and ($L_3(x, y) = x^2 - y^2$). Which of the loss functions is convex? And show the proof of convexity.
Second-generation computers used _____. (A) vacuum tube technology (B) transistors (C) integrated circuits (D) laser technology
Which type of malicious program comes into the computer at the request of the user, because it looks like a legitimate data file? A. Virus B. Data mooching C. Worms D. Spyware E. Trojan horse
1. (20 pts) Compute $s^{(l)}$, $x^{(l)}$, $\delta^{(l)}$ and $\frac{\partial e}{\partial w^{(l)}}$ with $x = 2, y = 2$
Question 8 Which two OSI model layers have the same functionality as a single layer of the TCP/IP model? (Choose two.) A data link B network C physical D session E transport
QUESTION 10 What values will d2 contain after the following code executes? d = {1: 10, 2: 20, 3: 30} d2 = {k:v for k,v in d.items()} {1: 10, 2: 20, 3: 30} {1: 1, 2: 2, 3: 3} {10: 1, 20: 2, 30: 3} {10: 10, 20: 20, 30: 30}
Question 10 1 pts Which of the following statements correctly describes the handling of exceptions and interrupts in the MIPS architecture? The Cause register in MIPS holds the address of the offending instruction when an exception occurs. In MIPS, an exception that occurs due to an arithmetic…
When Jacqueline interviewed for a position as a computer programmer, she was asked to take a test on a particular programming language. Jacqueline took a(n) \_\_\_\_\_\_ test. personality ability capability performance aptitude
A company hires a network technician who is reviewing the network setup documentation. The technician sees that the company has fiber optic cable running all the way up to the building. This represents what type of connection? A. FTTC B. VDSL C. ONT D. FTTP
What is the most common attack against availability? A Man-in-the middle attack B Dictionary attack C Denial-of-service attack D War driving attack
Multiple Answer 1 point All of the following have contributed to an increase in software flaws except: the growing complexity of software programs. the growing size of software programs. the inability to fully test programs. the increase in the number of computer hackers in the world.
Reset A=1 A=1 IDLE Y=0 Z=0 S1 Y=1 Z=0 A=0 A=0 B=1 S2 Y=0 Z=1
How does a wiki differ from a knowledge base? A wiki must be a collaborative source of information, while a knowledge base can be top down. A wiki must be top down, while a knowledge base can be a collaborative source of information. A wiki does not have chat features while a knowledge base…
3 Which term describes software that you purchase once at a large upfront cost and can then use forever? Software as a product Software as a solution Software as a service Software as a program
What is a key characteristic of the decrease-by-one variant in decrease-and-conquer algorithms? Please be aware that there will be point deductions for incorrect answers. The problem size is reduced by a constant factor in each iteration. The algorithm employs a dynamic programming…
Q4:(3.1)Consider the grammar with productions $S \to AC | CB$, $C \to aCb | \lambda$, $A \to aA | a$, $B \to bB | b$ (2 marks) Use leftmost derivation to show that the string abbb is in the language generated by this grammar (S is the start symbol).
estion 6 \_\_\_\_\_\_\_\_\_\_\_\_ is the time required to recover from a disaster and restore normal operations. ORAID 1 O CDP ORAID 0 ORTO
It's best to secure your network for employees who work from home. The best way to do this is to provide a \_\_\_\_\_\_\_\_ for them to use when accessing the company data. A ERP B VPN C IDS D UPS
What do we call the practice of using software that isn't properly licensed and paid for? A Software piracy B Cybercrime C Software Service D Trojan Horse
For the network above, We would like to classify nodes into 2 classes "+" and "-". Labels for node 3, 5, 8 and 10 are given (red for "+", blue for "-"). By using the following relational classifier: $$P(Y_i = c) = \frac{1}{|N_i|} \sum_{(i,j) \in E} W(i,j)P(Y_j = c)$$ Assuming all edge weights…
Question 6 of 13 Time remaining: 19:27 In the context of the divide-and-conquer algorithm design paradigm, what is typically involved in the 'combine' step? Please be aware that there will be point deductions for incorrect answers. Discarding one of the subproblem solutions. Randomly selecting…
The bond angle in a water molecule (H_(2)O) is about The bond angle in a water molecule ($H_2O$) is about
Given the following Merkle tree what information is required to search whether "C" is a part of this Merkle tree HAB HABCD Hcp HABCDEFEF HEFEF HEF HEF HA HB Hc HD HE HF A B C D E F
Step 3: Implement buildDistributionArray() (2 points) Implement the buildDistributionArray() function to take an array of scores, built by parseScores(), as an argument. The function should return a grade distribution array of length 5. The function should loop through the scores array and…
Which of the following statements about cybersecurity is true? A Maintaining protection of people, property, and processes is sufficient. B Protection of foreign assets is not essential. C Maintaining confidentiality, integrity, and availability is sufficient. D It is the process of protecting…
In a typical system design specification, the \_\_\_\_\_ section contains the complete design for a new system, including the user interface, outputs, inputs, files, databases, and network specifications. system components system summaries implementation requirements implementation environments
What restriction does a final method have? It cannot be called. It can be overridden in the subclass. It cannot be overridden in the subclass. It can only be static.
1. (Exercise 9.3.1) Consider a utility matrix below, representing the ratings, on a 1-5 star scale, of eight items, a through h, by three users A, B, and C. Compute the following fro the data of this matrix. a b C d e f g h A 4 5 5 1 1 3 2 B 3 4 3 1 2 1 C 2 1 2 4 5 3 a) Treating the utility…
What is the cloud? Information that can be stored and accessed via the internet Satellites in the sky that transmit internet data A website on the internet where social media apps live Another word for software as a service
One of the first things developers of I of T applications should focus on is building in ____ from the start. A security B redundancy C backup D cost controls Question 40 Spam is often used to trick credit card and banking customers into giving away log-on credentials A True B False
What do we call the software/hardware used to detect intrusion and prevent unauthorized access to/from a private network A Encryption B Proxy Server C Firewall D VPN
The \_\_\_\_\_ statement is useful when you need to test a single variable against a series of exact integer, character, or string values. break else if switch
DOS is an example of a command line interface. True False
Question 23 COMPARE THE FOLLOWING TWO STATEMENTS (use a truth table): $\neg G \bullet K$ $G \equiv K$ consistent contradictory logically equivalent inconsistent
What would the following multilayer perceptron neural network predict for a new example where A1 is 2 and A2 is 3? Use the step/squashing activation function that we used in class. 0.5 1 $A_1$ $A_2$ 2 0.5 1 -1 1 -6 0 -1 2 -3.5 1 Add your answer Integer, decimal, or E notation allowed
In JavaScript, what is the value of z after running the following statements? var x = "1"; var y = "5"; var z = x + y; 15 1 6 5
A constructor that accepts \_\_\_\_\_ parameters is called the default constructor. a. 3 b. 1 c. 2 d. 0
The Consumer Sentinel contains reports of both traditional and cyber instances of fraud and identity theft. True False
Which of the following operating systems pioneered time-sharing? MS-DOS CTSS UNIX Windows XP
Which elements of "Whole Lotta Love" demonstrate psychedelic characteristics? a simple verse-chorus structure the spacey section in the middle of the song that features studio effects the short guitar-riff introduction the use of heavy drumming
All the following are methods of authentication EXCEPT \_\_\_\_\_\_. A. a token B. a smartcard C. biometric authentication D. two-factor authentication E. TCP/IP
Which OS is used on the majority of supercomputers? Linux Mac OS Unix Windows
Input sanitization can protect against SQL injection attack True False Input sanitization can protect against SQL injection attacks True False
Jane works as a software developer at TechCorp, a company specializing in cybersecurity software. She decides to leave TechCorp and immediately joins SecureSoft, another cybersecurity company located just 10 miles away. Which clause has she violated. Non-compete Clause Non-Disclosure Clause She…
In a bus topology, connecting to the cable requires a simple device called a(n) _____. hub router tap echo suppressor Question 18 The ____ standard defines the Spanning Tree Protocol (STP). 802.3u 802.1s 802.1Q 802.1D 10 pts
is a transport layer protocol. (select all that apply) a. ICMP b. TCP c. UDP d. DNS
Which one of these pythons would be the better choice to keep as a pet? Reticulated python A Jackal python Burmese python Bombastic python Ball python
12 What is the definition of a network? A group of devices that can communicate A group of computers in the same office building A group of devices connected by a cable A group of computers that are connected to the internet
Question 47 1 pts Suppose we had as a program requirement to load in two vectors (v1 and v2) of 8 elements each of which are 16 bit integers, in strides of four into registers Q2 and Q3, which of the following instructions would be the correct instruction to use (assume that r0 contains the…
estion 11 Which of the following addresses email retention legal requirements a. Computer Fraud and Abuse Act b. Federal Rules of Civil Procedures c. Federal Rules of Evidence d. Electronics Communications Privacy Act (ECPA) Section 2511
Question 21 If we would like to store a number with value of 0x34567890 to a four byte integer starting from address 0x400100, please complete the following memory layout: (1) If the system is Big Endian, Address 0x400100 0x400101 0x400102 0x400103 Value (2) If the system is Little…
Which number system is commonly used in computers? Hexadecimal Octal Binary Decimal
There are 3 closed boxes of fruits in front of you, labelled "Apples", "Oranges", and "Apples and Oranges". You know that one of the boxes contains only apples, one contains only oranges, and the third box contains both apples and oranges. However, you are told that all the labels are…
Match the statements that are logically equal. qvt q$\wedge$c q$\wedge$t q$\vee$$\neg$q contradiction tautology q
A ____ is responsible for maintaining a large, multiuser system. software engineer system administrator vice president of information systems programmer/analyst
Problem 4: Rule-based methods The goal is to build a rule-based classifier to predict the class label based on these attributes. Here's the dataset: Age Income Education Temperature ID (Continuous)…
Which of the following is NOT a valid reason to acquire software externally? A Need a Niche skill B Implement Common Business Processes C Limited IT Budget D None of the Above (all are valid)
1) What major event led the British government to actively seek ways to make the colonies pay part of the cost of empire? The Declaration of Independence King Philip's War The Seven Year's War The Boston Tea Party
Comments on a social media post are an example of: Select one: a. Conglomeration b. Concentration c. Inferential feedback d. Feedback Clear my choice
Question 3 1 pts Which of the following components is NOT a required element for implementing the instruction fetch and incrementing the program counter in a MIPS datapath? Adder Program Counter (PC) Instruction Memory ALU Control Signal
Which of the following is true about gradients in the context of optimization? a) Gradients always point in the direction of the maximum increase of the function b) Gradients always point in the direction of the minimum increase of the function c) Gradients have nothing to do…
What is one of the most effective ways you can prevent a data breach? Spread important information across dozens of different programs. Properly train employees on data security best practices. Ask employees to store passwords on personal devices only. Only use very expensive software programs.
[80 Marks]: Solve all the questions using Python. Use Pandas, Seaborn, Sklearn, etc., libraries for all the analysis. Consider the data given in Excel file HW4_DataA. Consider the following data description: Table 8.5.1: Data description Field Description age The age of the individual. The age…
Question 19 1 pts What is a key difference between GPUs and CPUs regarding how they handle memory latency?GPUs and CPUs do not use any specific techniques to manage memory latency. GPUs rely on hardware multithreading to hide memory latency, while CPUs use multilevel caches to reduce…
2. (8 points) Assume that Bob uses an e-mail client (mail reader) such as Outlook to send an e-mail to Alice who uses a Web-based e-mail account (such as Gmail). The IP address of Alice's mail server is initially unknown to Bob's mail server. List all the transport and application layer…
Which recurrence relation describes the asymptotic complexity of MergeSort? $T(n) = T(\frac{n}{2}) + \Theta(1)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(1)$ $T(n) = T(\frac{n}{2}) + \Theta(n)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(n)$
A vacuum cleaning robot is equipped with a cleaning unit to clean the floor. Furthermore, the robot has a sensor to detect whether the floor is clean or dirty. Neither the cleaning unit nor the sensor are perfect. From previous experience you know that the robot succeeds in cleaning a dirty…
Which XXX will generate a valid output? #include <iostream> #include <stdexcept> using namespace std; int GetDay() { int inDay; cout << "Enter Day: "; cin >> inDay; if (1 > inDay || inDay > 31) { } } XXX; return inDay; int main() { int userDay; int userMonth; try { userDay = GetDay(); cout <<…
P4. 2개의 CDMA 송신자가 각각 (1, 1, 1, -1, 1, -1, -1, -1), (1, -1, 1, 1, 1, 1, 1, 1)의 코드를 갖고 있다면, 상대방 수신자가 데이터를 제대로 해석할 수 있겠는가? 설명하라.
Question 9 (10 points) Stable Matching Problem Below (in bold) is an unstable matching using the ranking matrix for the Hufflepuff Quidditch team. Coach Chaser Beater Keeper Seeker Alice 2,4 1,5 3,5 5,2 4,2 Bob 5,3 4,3 3,3 2,3 1,3 Chris 4,2 5,2 3,4 1,5 2,4 Dixon 1,5 2,1 3,2 4,4 5,1 Eve 2,1 4,4…
Question 23 If nameList is a JList component, use the following statement to display 4 rows in nameList. nameList.setDisplayRowCount(4); nameList.setShowRowCount(4); nameList.setVisibleRowCount(4); nameList.setRowCount(4);
Given the following equation: $\begin{cases} a_1 = 3 \\ a_n = 2a_{n-1} + 5 \end{cases}$ finish the following recursive function: (assume that iteration >=1)
Application service providers (ASPs) supply the information that is available through the Internet. True False
Question 24 The technologies that support cloud-based storage services are similar to those used to manage the contents of multilevel primary storage caches. Odisk management system Ostorage management system Ofile management system Ocontrol management system
Question 9 1 pts In a pipelined processor, what is the primary problem associated with control hazards, and how is it typically mitigated? Control hazards occur when there is a conflict in the use of registers between instructions, and they are resolved by adding more registers to…
Smartphones are being integrated into the shopping experience and have a variety of tools to make it easy for the consumer to make the exchange. While shopping, Ann uses her smartphone to scan ____ codes that are encoded with information ranging from text, to photos, to website…
measures how long it takes for a unit of data to get to its destination and back, therefore impacting response times. A Network Latency B Channel Bandwidth C Channel Transmission Time D Network Bandwidth
46. Use the Born-Haber cycle, data from Appendix IIB, and Table 9.1 to calculate the lattice energy of CaO. ($\Delta_{sub}H$ for calcium is 178 kJ mol$^{-1}$; IE$_1$ and IE$_2$ for calcium are 590 kJ mol$^{-1}$ and 1145 kJ mol$^{-1}$, respectively; EA$_1$ and EA$_2$ for O are 141 kJ mol$^{-1}$…
Question 15 1 pts What are the contents of registers R0 and R1 after the call of the function named mystery. in the following code fragment (assume numbers in decimal): mov R0, #165 mov R1, #17 bl mystery mystery: add R1, R0, lsr #3 mov R0, R0, lsl #2 mov PC,…
Construct a PDA that matches all strings over $\{a, b\}$ of the form $a^i b^j$ where $i > j$
An imaginary story that makes a general point is called a(n) mythical example. artificial example. hypothetical example. simulated example. synthetic example.
Question 13 Ingress ACL rules typically permit a specific type of externally originated connection. True False
Which of the following layers of the OSI model are responsible for establishing, managing and terminating sessions? Layer 7 Layer 6 Layer 4 Layer 5
Which statements about data warehousing is NOT correct? The data warehouse should be separate from the operational system. Drill-down is a data-mining tool available to users of OLAP. Data cleansing is a process of transforming data into standard form. Normalization is a requirement of…
Question 3 1 pts Which of the following components is NOT a required element for implementing the instruction fetch and incrementing the program counter in a MIPS datapath? Adder Program Counter (PC) Instruction Memory ALU Control Signal
Question 16 1 pts Which of the following best describes the SIMD (Single Instruction stream, Multiple Data streams) architecture? SIMD performs a series of computations on a single data stream in a pipelined fashion, similar to MISD architecture. SIMD processes multiple data elements using a…
A foreign country attempting to access government networks in order to disable a national power grid is an example of: ____ identify the access points in a Wi-Fi network. phishing. denial-of-service attacks. cyberwarfare. cyberterrorism.
In early 1960s to 1970s, a hacker was often: a criminal a creative programmer who wrote elegant or clever code a software expert with harming intent a hacktivist
is an approach to I/O control in which I/O devices and main memory share the same address sp Memory-mapped I/O I/O channels Interrupt-driven I/O Programmed I/O
What is the sum yielded by a two-digit binary number and the two's complement of the same number? a. 1 b. 10 c. 100 d. 1000
Question 24 To determine which item in a list is currently selected use: the getSelectedValue method the getSelectedIndex method both A and B neither A nor B
6. Andi Allepi wanted a condition that only printed the square of number if number was between two values (in this case 64 and 128). However in Andi's code, when number is outside of those bounds (in this case 42), number gets squared and prints, which is not what Andi wanted. Please explain to…
When you create a script for creating a database, which keyword do you use to signal the end of a batch and cause all the statements in the batch to be executed? O GO O EXECUTE O END O START
Which of the following is NOT a type of wireless network attack? Wireless denial-of-service attacks A death-of-the-perimeter attack Unauthorized network access A man-in-the-middle attack using an evil twin
Multiple Answer 1 point Supervised machine learning involves: programmers supervising the machine learning program. training a neural network to identify digital photos of cars or other objects in a very large dataset, with humans assessing whether the machine is correct or incorrect. programs…
Question 20 With \_\_\_\_\_, you can send electrical power over the Ethernet connection. 1Base5 IEEE 802.3af 10GBase-fiber FDDI 10 pts
What is the difference between a trap and an interrupt? Traps are hardware-generated, while interrupts are software-generated. Traps are software-generated, while interrupts are hardware-generated. Traps are synchronous, while interrupts are asynchronous. Traps and interrupts are used for I/O…
Question 3 (10 points) Dynamic Programming / Knapsack Problem item weight value 1 3 $18 2 5 $15 3 4 $20 4 2 $10 The knapsack has a capacity (weight limit) of 10. item (empty) $w_1 = 3, v_1 = 18$ $w_2 = 5, v_2 = 15$ $w_3 = 4, v_3 = 20$ $w_4 = 2, v_4 = 10$ What value will appear in the table at…
If ASCII "A" and "a" are combined into a 16-bit pattern and then appended with a FCS (Frame Check Sequence) generated by a CRC polynomial of $X^5 + X^4 + X + 1$. Determine the FCS. A is 41H and a is 61H in ASCII Show how to verify if the data is corrected or not.
Which of the following statements is NOT true about lossless compression? Lossless compression eliminates redundancy or efficiently encoding the information Lossless compression means no compression occurs but redundancy is removed Lossless compression retains all the original data Examples…
What level of normalization requires that all columns be atomic? 2NF BCNF None of these 1NF 3NF 4NF
Suppose a C++ project has classes Animal, Dog, and Dobermann, with the following 3-level inheritance hierarchy: A Dobermann is-a Dog A Dog is-an Animal Suppose the following code is in an application program that uses the Animal, Dog, and Dobermann classes: int main() { { } Dobermann…
Apply: Kruskal's Algorithm and Dijkstra's Algorithm GRAPHS SHORTEST PATH PROBLEM Sample Problem: What is the least expensive set of telephone lines needed to connect computers in San Francisco with those in New York. DISTANCE Boston 860 1855 Chicago 191 908 New York San Francisco 349 Los…
(a) [10 points] Let R(A, B, C, D, E, F) be a relation schema, and let S = {A → B, BD → E, EC → A, CF → D, EF → B, C → E} be a set of functional dependencies. Use the Chase test to determine if the following decomposition is lossless. Decomposed relations: R₁(A, B, E), R₂(B, D, E), R₃(C, E, F),…
What are disadvantages of using electronic software to analyze qualitative data? Amount of time and people needed Possibility of incorrect coding based on syntax Multiple copies of datasets and coding data Alleviation of rigor
When you add a hyperlink to a cell, the text in the cell appears in the Hyperlink cell style, which is usually ______ and ______. a color; bold blue; italic a color; underlined purple; underlined
1. Write a program that takes a string as user input and returns the reverse of the string with '+' between each character. Example Input/Output: Input: The Output: e+h+T
In the context of the ElGamal signature, the public key is (499, 185, B), where "B" is not known to you. Two packages were sent through the insecure channel as follows: (321, 272, 321) (321, 135, 273) Was there a re-use of the ephemeral key?
Some children are playing with soap bubbles, and you become curious as to the relationship between soap bubble radius and the pressure inside the soap bubble. You reason that the pressure inside the soap bubble must be greater than atmospheric pressure, and that the shell of the soap bubble is…
Which living artist is considered the "father of digital art" based on his work beginning in the 1960s? Steve Sasson Lillian Schwartz Tim Berners-Lee Charles Csuri
Question 23 1 pts Which of the following statements accurately describes a feature or optimization of the NetFPGA 10-Gigabit Ethernet card and its associated technologies? Polling involves the NIC sending periodic interrupts to the processor to check the status of I/O operations, rather than…
What is the primary role of constructors in Java? To define methods To provide initial values inside the object To declare variables To create classes
Problem 1: Vehicle Fuel Efficiency Classification Vehicle Type Engine Size Fuel Type Mileage Safety Rating Fuel Efficiency (Nominal) (Continuous) (Nominal) (Continuous) (Ordinal) (Target) Sedan 2.0 Gasoline 35.5 Low Fuel Efficient SUV 3.5 Diesel 23.4 Medium Not Fuel Efficient Hatchback 1.6…
Chapter 5 1. Assume you have a byte-addressable machine that uses 32-bit integers and you are storing the hex value 3456 at address 0. ◆a) Show how this is stored on a big endian machine. b) Show how this is stored on a little endian machine. c) If you wanted to increase the hex value to…
Question 17 6 pts In our double free attack on Fast bins, we have the following bin layout preparation in step 1: (1) If we let chunk 7 to point to chunk 7, the attack still works. [Select] (2) If our attack, we allocate chunk 7 and edit it to point to victim chunk. We can do the same thing to…
Critical Thinking Questions (6 points each) 26. Explain how the concept of data sharding in NoSQL databases balances scalability and consistency and describe a situation where sharding may introduce challenges. 27. What is the difference between a primary key and a composite key? Provide an…
[3] 7. (a) Apply Kruskal's algorithm on the weighted graph below to find a minimum spanning tree.
Match the characteristic to the category. (Not all options are used.) contained in the Layer 3 header contained in the Layer 2 header separated into OUI and a unique identifier separated into a network portion and a unique identifier 32 or 128 bits 48 bits 64 bits IP address MAC…
Refer to the following assembly language program and determine data stored in result at the end of the program. What is the value of W9? .global_start _start: LDR x5, = var1 //x5 points to var LDR x6, result //x6 points to result mov w8, #7 // index for the loop loop: LDR w7, [X5] // move value…
Which one is NOT true for small businesses when it comes to digital security? They are usually gateways to larger systems. They often go out of business after a security breach. Unlike large corporations, they use the fame from a security breach to grow. Some can't afford a security staff.
4) (20 points) A state diagram of a sequential circuit is given below. Given x/y, the first is an input x of the circuit and the second number is the output y of the circuit. For example, at state SO, when x/y = 0/0 means that when the input x = 0, the output y is 0 and the next state is SO,…
Problem 2: A banquet hall offers two types of tables for rent: 6-person rectangular tables at a cost of $28 each and 10-person round tables at a cost of $52 each. Alex would like to rent the hall for a wedding banquet and needs tables for at least 250 people. The hall can have a maximum of 35…
Which recurrence relation describes the asymptotic complexity of MergeSort? $T(n) = T(\frac{n}{2}) + \Theta(1)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(1)$ $T(n) = T(\frac{n}{2}) + \Theta(n)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(n)$
Software programs that work without direct human intervention to carry out specific tasks for individual users, business processes, or software intelligent agents. genetic algorithms. machine learning systems. deep learning neural networks. expert systems.
In which way is spyware different than viruses, worms, and Trojan horses? A. The user is unaware that something is wrong B. The user often unintentionally spreads it C. The virus allows outsiders can take over the computer remotely D. The attack appears harmless but destroys data after it have…
Critical Thinking Questions (6 points each) 26. Explain how the concept of data sharding in NoSQL databases balances scalability and consistency and describe a situation where sharding may introduce challenges. 27. What is the difference between a primary key and a composite key? Provide an…
A paperless office can be implemented today through a variety of technologies and processing techniques. True False
Scenario: The server hosting your company database is running slower than expected. 1. List Linux commands you would use to monitor CPU, memory, and disk usage. Provide example outputs and explain what to look for. [1.5 marks] 2. How would you identify and kill a process consuming excessive…
Question 21 1 pts Which of the following statements accurately describes the characteristics and advantages of message-passing multiprocessors and warehouse-scale computers (WSCs)? Message-passing multiprocessors use a shared memory architecture, allowing processors to access a common address…
Problem 2: Spam Email Classification Sender Domain (Nominal) Email Length (Continuous) Attachment (Nominal) Spam…
Server-PT PC-PT 2950-24 PT 192.168.4.0/24 192.168.1.0/24 10.1.0.0/24 10.1.8.0/24 10.1.5.0/24 R1/0 Router-PT 2 192.168.2.0/24 Red Static Routing Green RIP Routing Protocol Blue OSPF Routing Protocol Yellow EIGRP Protocol 10.1.1.0/24 Router-DT 2950-24 Switch2 Use the indicated Protocols to…
When you delete a file or folder, it is moved from its current location to the Recycle Bin on your computer. True False
Show all the steps of the following data set when it being sorted with Insertion sort algorithm and calculate the performance of it. 8 14 10 3 12 23 Answer: Insertion Sort 8 14 10 3 12 23 Performance:
Question 20 1 pts Which of the following statements about Domain Specific Architectures (DSAs) is true? DSAs use more complex data types and larger memories compared to general-purpose processors to improve performance. DSAs use general-purpose processors to run a wide range of tasks,…
What is the decimal value of the 5-bit signed number 01001?
takes the idea of breaking down a program into separate and reusable functions to the next level by focusing on the encapsulation of programming policies. Object-oriented programming (OOP) Structured programming Object programming (OP) Aspect-oriented programming (AOP)
Question 15 Question 7 (10 points) Open Hashing (Separate Chaining) Build a hash table using the method of Open Hashing and hash function: $h(w) = val(w_1) \mod 8$ where $val(A) = 0, val(B) = 1,..., and val(Z) = 25$. Terribly, this means your hash function depends only on the initial letter of…
Identify the new treap created after deleting node F, 40. Identify the new treap created after deleting node F, 40.
21.2 LAB: Longest string 21.2.1: LAB: Longest string Write a program that takes two strings and outputs the longer string, followed by "is longer than", and the shorter string. If the strings have the same length then output the strings followed by "are the same length". Ex. If the input…
2. Write a program that takes a keyboard input and writes an output file with the keyboard input as the text within the output file. Example Input/Output Input: pineapples Output: pineapples has been written to ____.txt (____ can be whatever you want to be for the output file name.)
Which type of security threat is the most widespread, affecting almost 90% of companies? O theft of hardware components, such as storage cards O denial of service O computer fraud O phishing
Which cloud computing model allows users to run applications without managing the underlying infrastructure? laaS SaaS PaaS DBaaS
2. For the following graph, apply Bellman-Ford algorithm to find the shortest path distance from vertex S to all other vertices. You need to show the recurrence formula (which is in the textbook), and show the update of the table $dist^k[u]$ for all the $k$ and $u$ (similar to Figure 5.10, in…
9) Given R = (0*10+)*(1 U ε) and S = (1*01+)*. (a) Give an example of a string that is neither in the language of R nor in S. (b) Give an example of a string that is in the language of S but not R. (c) Give an example of a string that is in the language of R but not S. (d) Give an example of a…
Which of the following is a valid reason for a company to choose a public cloud computing environment? A Provides Flexible computing capacity B Provides increased Security C Guarantees more consistent Response times (performance) D All of the Above Question 32 Pseudocode is used to describe the…
Immutable objects in Java: Allow modifications on their content Do not allow modifications on their content Can be cloned without restrictions Support dynamic memory allocation
Part B [14 pts] The RSA cryptosystem Wessam uses the RSA cryptosystem from the prime number theory to allow people to send encrypted messages. Wessam selects the parameters: $p = 17$ $q = 41$ $e = 61$ 1. [7 Pts] Support Wessam by calculating the private key. Calculate and state the private…
From an e-commerce perspective, businesses are not financially liable for fraudulent transactions A True B False
Question 1 [60 points]: Implement the following class. Refer to the below notes for more details. Employee -name: String //could be formed of more than two words -empID: String -gender: char -address: String -salary: double -nbOfChildren: int -nbOfEmp: int +Employee(String: name, char: g,…
What is the de facto guide for a financial institution that wants to ensure it has a GLBA-compliant information security program that meets regulatory expectations? A. AAOFI B. FFIEC C. OOPS D. WRYC
What are the two components of positioning time? seek time + rotational latency transfer time + transfer rate cylinder positioning time + disk arm positioning time effective transfer rate - transfer rate
In which era hacking was a positive term? After mid 1990s Early 1960s to 1970s None of these 1970s to mid 1990s
Which of the following cloud service models is best for businesses seeking ready-to-use software without managing infrastructure? PaaS IaaS DBaaS SaaS
Modify styles.css so the provided HTML produces the webpage below. BEST-SELLING VIDEO GAMES Title Sales Release Date Minecraft 176,000,000 November 18, 2011 Tetris 170,000,000 June 6, 1984 Grand Theft Auto V 110,000,000 September 17, 2013 Wii Sports 82,870,000 November 19, 2006 Source:…
9. $x \to y$ $y \to z$ $\therefore x \to z$
A business case is a justification for making or continuing to make an investment in a new or ongoing information system. A True B False
Learning Goal: To calculate the component values for high-Q bandpass and bandreject filters to meet frequency domain specifications. The figures show a high-Q bandpass filter (top) and a high-Q bandreject filter (bottom). Part A - Designing the high-Q bandpass filter By specifying $R_1$, $R_2$,…
A computer virus is a destructive program that disrupts the normal functioning of information systems and spreads from one computer to the next. A) True B) False Question 28 What Network type would most likely be used in a small business? A Personal Area Network (PAN) B Local Area Network…
Question 16 In the unsafe unlink attack, we have the following figure of concept: P P->bk->fd P->bk P->fd P->fd->bk P->fd->bk = P->bk P->bk->fd = P->fd In order to perform the unsafe unlink attack: (1) The attacker must use buffer overflow to corrupt P->bk. True (2) If P->bk can be overwritten,…
Internal network having three departments: HR, Admin and Finance Server1 Server0 Adminstration-1 PC#1 Adminstration-2 PC#2 Finance-1 PC#3 Finance-2 PC#4 HR-1 PC#5 HR-2 PC#6 Switch Router0 Router1 Router2 Router3 Internet Switch1 Switch2 PC#7 Normal web server user Remote Employee Firewall 1941…
Given an array [6, 5, 4, 3], one is to perform quick sort on the whole array, using the last element as the pivot. Please list the first three arrays in the sorting process. Step 1 Step 2 Step 3
Thermal noise cannot be prevented. Select one: True False Thermal noise cannot be prevented. Select one: True False
Suppose the following code is in an application program that uses the deep copy array class: int main() { Array *ptr = new Array[3]{Array(3), Array(3), Array(3)}; delete[] ptr; } What is the output of this program? NOTE: All of the constructors and the destructor in the array class have a cout…
Question 43 1 pts The following code with the delay function with the wiringPi library will pause the program for 1.75 seconds: mov r0, #1750 bl delay True False
What is the main difference between preemptive and non-preemptive scheduling? Preemptive scheduling allows processes to be interrupted, while non-preemptive scheduling does not. Preemptive scheduling is more efficient than non-preemptive scheduling. Non-preemptive scheduling is more fair than…
2. On the Formulas sheet, in cell D3, enter a formula to return the sum of the overtime paid for employees in the IT department. Use the defined names for the array ranges.
What is the IEEE754 32-bit single precision representation of the hexadecimal code (AB)$_{16}$? 0 1000 0110 01010110000000000000000 0 1000 0110 01010100000000000000000 0 1000 0110 01110110000000000000000 0 1000 0110 01110100000000000000000
code class="asciimath">\lim_(x->\infty )\sqrt(x)*sin((1)/(x)) $\lim_{x \to 0} \sqrt{x} \cdot \sin \frac{1}{x}$
RAQ9: Given the following heap, assuming heap entries start at index 1, 68 15/ \40 10/ \8 32/ what will be the content of the corresponding array representation of the heap? 68,15,10,8,40,35 8,10,15,35,40,68 68,15,40,10,8,35 68,40,35,15,10,8
Q4:(3.1)Consider the grammar with productions $S \to AC | CB$, $C \to aCb | \lambda$, $A \to aA | a$, $B \to bB | b$ (2 marks) Use leftmost derivation to show that the string abbb is in the language generated by this grammar (S is the start symbol).
A for loop provides a convenient way to create a(n) \_\_\_\_\_ loop. counter-controlled infinite while posttest
Use K-map to simplify the expression $A'B'C' + A'B'CD + A'BC' + A'BCD + A'BCD' + AB'C'$. The output is a. $A'D + A'B + B'C$ b. $A'D + A'B + B'C'D$ c. $A'D + AB + B'C'$ d. $A'D + A'B + B'C'$
You are given a graph that has 9 nodes, numbered 1 to 9, and the following edges in sorted order by weight: (2, 9), (1, 3), (4, 6), (2, 8), (3, 6), (5, 6), (3, 4), (2, 7), (7, 9), (1, 6), (4, 5). Run Kruskal's algorithm using a union-find array and update that array by processing the edges in…
Problem 2: Load the data set Q consisting of a single explanatory variable $x$ and dependent variable $y$. 1. Shuffle the rows of Q and separate the data into a test set and training set. Use 30% of the data for the testing set and the remaining 70% for training set. [42]: Q =…
1. Determine the best method for solving (0-1)-Knapsack problem, and then use it to solve the problem with capacity weight= 7, and the following instances. Item I1 I2 I3 I4 Weight 1 3 4 5 Value 1 4 5 7
When you import data from a text file using a delimiter, each data field is imported into a separate O Row O Column O Header O Filter
6 Where is information physically stored on a computer? On a drive On a server In the cloud In a folder
How many bits are contained within a 128x7 RAM? a. 56 b. 7168 c. 128 d. 49 e. 896
Free software that comes with the source code that users may modify and redistribute Freeware Shareware Educational Open source
Detective Jones is investigating a fraud scheme where a telephone caller asks for the person's credit card number, so a transaction can be run again. The suspects appear to be calling women in their fifties and sixties who live alone and shop at a particular pharmacy. He requests the chief…
QUESTION 23 Jennifer sometimes can be argumentative, which represents a "state" trait. True False QUESTION 24
Question 11 When an application uses many components, instead of extending just one class from the JFrame class, a better approach is to: reconsider the design of the application just go ahead and do it in one large class break the application into several smaller applications encapsulate…
Which of the following best defines the role of a data mart? A centralized repository for all company data A system for real-time data processing A tool for encrypting sensitive information in the database A subset of a data warehouse focused on a specific business area
Question 5 To format a cell so that text that exceeds the column width will create a new line in the same cell, you can change the row height. True False 1 pts
Important Note: You must consider the Order of Operations. Use parenthesis to control the order of operations in your formulas. Enter your formula in Column B shaded in Blue. tem Sales Price Cost Sold Pants $ 49.99 $ 26.34 156 Shirt $ 41.99 $ 16.58 233 Socks $ 6.99 $ 2.13 123 Jacket $ 69.99 $…
Dataset: A dataset with student study habits: Student ID Hours Studied per Week Number of Practice Tests Taken Final Exam Score 1 10 2 50 2 20 4 80 3 15 3 65 4 5 1 40 5 25 5 90 Question 2: Propose a model using k-Nearest Neighbors (k-NN) to predict a student's exam score based on their study…
Which data extraction method is most appropriate to retrieve real-time data from social media platforms (such as Twitter/X) through an authorized access? Web crawling Streaming API REST API None
What is a private cloud? A cloud service provided exclusively by a single vendor. A cloud environment accessible by the general public. A combination of on-premises infrastructure and public cloud services. A cloud environment dedicated to a single organization.
4. Using recursion, write a program that takes a positive integer input and produces the Fibonacci value for that input as the output. For this question, you MUST use recursion. DO NOT use any for/while loops. As a reminder, the Fibonacci sequence starts with 0 and 1. Example…
Problem 7 (6 points) (a) Give an example of a context-free language whose complement is not context-free. Give a precise definition of this language and explain your answer. If such a language does not exist, explain why. Answer: (b) Give an example of a regular language that has a subset which…
McCullough has a monopoly on rental dwellings in the local community. The demand for rental dwellings is $Q_D = 70,000 - 50P \iff P = 1400 - 0.02Q_D$. The resulting marginal revenue function is $MR(Q) = 1,400 - 0.04Q_D$. McCullough's marginal cost of providing rental dwellings is $MC(Q) = 0.01Q…
8. Suppose we have the instruction Load 1000. given memory and register R1 contain the values below: Memory 0x1000 0x1400 R1 0x200 0x1100 0x400 0x1200 0x1000 0x1300 0x1100 0x1400 0x1300 and assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the…
A ______ follows Internet design protocols and enables a company to integrate new applications into its ecommerce strategy. web-centric architecture thin client data processing center corporate portal
Question 14 8 pts Suppose we are performing a use-after-free attack on Fast bins, and current vulnerable program has the following memory layout: pwndbg> p &malloc_hook $1 = (void *(**)(size_t, const void *)) 0xf7e2db34 <malloc_hook> pwndbg> x/100x 0xf7e2db30 0xf7e2db30…
(4) (5 points) Consider the following Bayesian network of 6 variables. Set $X = B$ and $Y = E$. Specify a set $Z$ such that: $X \perp\kern-5pt\perp Y | Z$ (in other words, $X$ is independent of $Y$ given $Z$). (i) $Z = \{A\}$ (ii) $Z = \{C\}$ (iii) $Z = \{F\}$
Question 18 1 pts Which of the following statements accurately describes Uniform Memory Access (UMA) and Nonuniform Memory Access (NUMA) multiprocessors? Both UMA and NUMA multiprocessors have variable latency for memory access depending on which processor requests the access. UMA…
Match the three types of values in a spreadsheet to their type of data. Prompts 1 Numeric constant 2 Formula 3 Function Answers Select match A combination of cell addresses containing numeric constants with standard mathematical operators. Always starts with an equal sign (=). A number (such as…
Which of the following are common character sets used by SQL Server? both a and c Latin I Unicode ASCII
How is IIHI related to ePHI under the HIPAA Security Rule? A ePHI is IIHI B ePHI is not IIHI C ePHI replaces IIHI D IIHI replaces ePHI
21.1 LAB: Remove gray from RGB Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0,…
(3 pts) P1-2: Assume you are given the following loss functions ($L_1(x, y) = x^2 + y^2$), ($L_2(x, y) = -x^2 - y^2$), and ($L_3(x, y) = x^2 - y^2$). Which of the loss functions is convex? And show the proof of convexity.
Second-generation computers used _____. (A) vacuum tube technology (B) transistors (C) integrated circuits (D) laser technology
Which type of malicious program comes into the computer at the request of the user, because it looks like a legitimate data file? A. Virus B. Data mooching C. Worms D. Spyware E. Trojan horse
1. (20 pts) Compute $s^{(l)}$, $x^{(l)}$, $\delta^{(l)}$ and $\frac{\partial e}{\partial w^{(l)}}$ with $x = 2, y = 2$
Question 8 Which two OSI model layers have the same functionality as a single layer of the TCP/IP model? (Choose two.) A data link B network C physical D session E transport
QUESTION 10 What values will d2 contain after the following code executes? d = {1: 10, 2: 20, 3: 30} d2 = {k:v for k,v in d.items()} {1: 10, 2: 20, 3: 30} {1: 1, 2: 2, 3: 3} {10: 1, 20: 2, 30: 3} {10: 10, 20: 20, 30: 30}
Question 10 1 pts Which of the following statements correctly describes the handling of exceptions and interrupts in the MIPS architecture? The Cause register in MIPS holds the address of the offending instruction when an exception occurs. In MIPS, an exception that occurs due to an arithmetic…
When Jacqueline interviewed for a position as a computer programmer, she was asked to take a test on a particular programming language. Jacqueline took a(n) \_\_\_\_\_\_ test. personality ability capability performance aptitude
A company hires a network technician who is reviewing the network setup documentation. The technician sees that the company has fiber optic cable running all the way up to the building. This represents what type of connection? A. FTTC B. VDSL C. ONT D. FTTP
What is the most common attack against availability? A Man-in-the middle attack B Dictionary attack C Denial-of-service attack D War driving attack
Multiple Answer 1 point All of the following have contributed to an increase in software flaws except: the growing complexity of software programs. the growing size of software programs. the inability to fully test programs. the increase in the number of computer hackers in the world.
Reset A=1 A=1 IDLE Y=0 Z=0 S1 Y=1 Z=0 A=0 A=0 B=1 S2 Y=0 Z=1
How does a wiki differ from a knowledge base? A wiki must be a collaborative source of information, while a knowledge base can be top down. A wiki must be top down, while a knowledge base can be a collaborative source of information. A wiki does not have chat features while a knowledge base…
3 Which term describes software that you purchase once at a large upfront cost and can then use forever? Software as a product Software as a solution Software as a service Software as a program
What is a key characteristic of the decrease-by-one variant in decrease-and-conquer algorithms? Please be aware that there will be point deductions for incorrect answers. The problem size is reduced by a constant factor in each iteration. The algorithm employs a dynamic programming…
Q4:(3.1)Consider the grammar with productions $S \to AC | CB$, $C \to aCb | \lambda$, $A \to aA | a$, $B \to bB | b$ (2 marks) Use leftmost derivation to show that the string abbb is in the language generated by this grammar (S is the start symbol).
estion 6 \_\_\_\_\_\_\_\_\_\_\_\_ is the time required to recover from a disaster and restore normal operations. ORAID 1 O CDP ORAID 0 ORTO
It's best to secure your network for employees who work from home. The best way to do this is to provide a \_\_\_\_\_\_\_\_ for them to use when accessing the company data. A ERP B VPN C IDS D UPS
What do we call the practice of using software that isn't properly licensed and paid for? A Software piracy B Cybercrime C Software Service D Trojan Horse
For the network above, We would like to classify nodes into 2 classes "+" and "-". Labels for node 3, 5, 8 and 10 are given (red for "+", blue for "-"). By using the following relational classifier: $$P(Y_i = c) = \frac{1}{|N_i|} \sum_{(i,j) \in E} W(i,j)P(Y_j = c)$$ Assuming all edge weights…
Question 6 of 13 Time remaining: 19:27 In the context of the divide-and-conquer algorithm design paradigm, what is typically involved in the 'combine' step? Please be aware that there will be point deductions for incorrect answers. Discarding one of the subproblem solutions. Randomly selecting…
The bond angle in a water molecule (H_(2)O) is about The bond angle in a water molecule ($H_2O$) is about
Given the following Merkle tree what information is required to search whether "C" is a part of this Merkle tree HAB HABCD Hcp HABCDEFEF HEFEF HEF HEF HA HB Hc HD HE HF A B C D E F
Step 3: Implement buildDistributionArray() (2 points) Implement the buildDistributionArray() function to take an array of scores, built by parseScores(), as an argument. The function should return a grade distribution array of length 5. The function should loop through the scores array and…
Which of the following statements about cybersecurity is true? A Maintaining protection of people, property, and processes is sufficient. B Protection of foreign assets is not essential. C Maintaining confidentiality, integrity, and availability is sufficient. D It is the process of protecting…
In a typical system design specification, the \_\_\_\_\_ section contains the complete design for a new system, including the user interface, outputs, inputs, files, databases, and network specifications. system components system summaries implementation requirements implementation environments
What restriction does a final method have? It cannot be called. It can be overridden in the subclass. It cannot be overridden in the subclass. It can only be static.
1. (Exercise 9.3.1) Consider a utility matrix below, representing the ratings, on a 1-5 star scale, of eight items, a through h, by three users A, B, and C. Compute the following fro the data of this matrix. a b C d e f g h A 4 5 5 1 1 3 2 B 3 4 3 1 2 1 C 2 1 2 4 5 3 a) Treating the utility…
What is the cloud? Information that can be stored and accessed via the internet Satellites in the sky that transmit internet data A website on the internet where social media apps live Another word for software as a service
One of the first things developers of I of T applications should focus on is building in ____ from the start. A security B redundancy C backup D cost controls Question 40 Spam is often used to trick credit card and banking customers into giving away log-on credentials A True B False
What do we call the software/hardware used to detect intrusion and prevent unauthorized access to/from a private network A Encryption B Proxy Server C Firewall D VPN
The \_\_\_\_\_ statement is useful when you need to test a single variable against a series of exact integer, character, or string values. break else if switch
DOS is an example of a command line interface. True False
Question 23 COMPARE THE FOLLOWING TWO STATEMENTS (use a truth table): $\neg G \bullet K$ $G \equiv K$ consistent contradictory logically equivalent inconsistent
What would the following multilayer perceptron neural network predict for a new example where A1 is 2 and A2 is 3? Use the step/squashing activation function that we used in class. 0.5 1 $A_1$ $A_2$ 2 0.5 1 -1 1 -6 0 -1 2 -3.5 1 Add your answer Integer, decimal, or E notation allowed
In JavaScript, what is the value of z after running the following statements? var x = "1"; var y = "5"; var z = x + y; 15 1 6 5
A constructor that accepts \_\_\_\_\_ parameters is called the default constructor. a. 3 b. 1 c. 2 d. 0
The Consumer Sentinel contains reports of both traditional and cyber instances of fraud and identity theft. True False
Which of the following operating systems pioneered time-sharing? MS-DOS CTSS UNIX Windows XP
Which elements of "Whole Lotta Love" demonstrate psychedelic characteristics? a simple verse-chorus structure the spacey section in the middle of the song that features studio effects the short guitar-riff introduction the use of heavy drumming
All the following are methods of authentication EXCEPT \_\_\_\_\_\_. A. a token B. a smartcard C. biometric authentication D. two-factor authentication E. TCP/IP
Which OS is used on the majority of supercomputers? Linux Mac OS Unix Windows
Input sanitization can protect against SQL injection attack True False Input sanitization can protect against SQL injection attacks True False
Jane works as a software developer at TechCorp, a company specializing in cybersecurity software. She decides to leave TechCorp and immediately joins SecureSoft, another cybersecurity company located just 10 miles away. Which clause has she violated. Non-compete Clause Non-Disclosure Clause She…
In a bus topology, connecting to the cable requires a simple device called a(n) _____. hub router tap echo suppressor Question 18 The ____ standard defines the Spanning Tree Protocol (STP). 802.3u 802.1s 802.1Q 802.1D 10 pts
is a transport layer protocol. (select all that apply) a. ICMP b. TCP c. UDP d. DNS
Which one of these pythons would be the better choice to keep as a pet? Reticulated python A Jackal python Burmese python Bombastic python Ball python
12 What is the definition of a network? A group of devices that can communicate A group of computers in the same office building A group of devices connected by a cable A group of computers that are connected to the internet
Question 47 1 pts Suppose we had as a program requirement to load in two vectors (v1 and v2) of 8 elements each of which are 16 bit integers, in strides of four into registers Q2 and Q3, which of the following instructions would be the correct instruction to use (assume that r0 contains the…
estion 11 Which of the following addresses email retention legal requirements a. Computer Fraud and Abuse Act b. Federal Rules of Civil Procedures c. Federal Rules of Evidence d. Electronics Communications Privacy Act (ECPA) Section 2511
Question 21 If we would like to store a number with value of 0x34567890 to a four byte integer starting from address 0x400100, please complete the following memory layout: (1) If the system is Big Endian, Address 0x400100 0x400101 0x400102 0x400103 Value (2) If the system is Little…
Which number system is commonly used in computers? Hexadecimal Octal Binary Decimal
There are 3 closed boxes of fruits in front of you, labelled "Apples", "Oranges", and "Apples and Oranges". You know that one of the boxes contains only apples, one contains only oranges, and the third box contains both apples and oranges. However, you are told that all the labels are…
Match the statements that are logically equal. qvt q$\wedge$c q$\wedge$t q$\vee$$\neg$q contradiction tautology q
A ____ is responsible for maintaining a large, multiuser system. software engineer system administrator vice president of information systems programmer/analyst
Problem 4: Rule-based methods The goal is to build a rule-based classifier to predict the class label based on these attributes. Here's the dataset: Age Income Education Temperature ID (Continuous)…
Which of the following is NOT a valid reason to acquire software externally? A Need a Niche skill B Implement Common Business Processes C Limited IT Budget D None of the Above (all are valid)
1) What major event led the British government to actively seek ways to make the colonies pay part of the cost of empire? The Declaration of Independence King Philip's War The Seven Year's War The Boston Tea Party
Comments on a social media post are an example of: Select one: a. Conglomeration b. Concentration c. Inferential feedback d. Feedback Clear my choice
Question 3 1 pts Which of the following components is NOT a required element for implementing the instruction fetch and incrementing the program counter in a MIPS datapath? Adder Program Counter (PC) Instruction Memory ALU Control Signal
Which of the following is true about gradients in the context of optimization? a) Gradients always point in the direction of the maximum increase of the function b) Gradients always point in the direction of the minimum increase of the function c) Gradients have nothing to do…
What is one of the most effective ways you can prevent a data breach? Spread important information across dozens of different programs. Properly train employees on data security best practices. Ask employees to store passwords on personal devices only. Only use very expensive software programs.
[80 Marks]: Solve all the questions using Python. Use Pandas, Seaborn, Sklearn, etc., libraries for all the analysis. Consider the data given in Excel file HW4_DataA. Consider the following data description: Table 8.5.1: Data description Field Description age The age of the individual. The age…
Question 19 1 pts What is a key difference between GPUs and CPUs regarding how they handle memory latency?GPUs and CPUs do not use any specific techniques to manage memory latency. GPUs rely on hardware multithreading to hide memory latency, while CPUs use multilevel caches to reduce…
2. (8 points) Assume that Bob uses an e-mail client (mail reader) such as Outlook to send an e-mail to Alice who uses a Web-based e-mail account (such as Gmail). The IP address of Alice's mail server is initially unknown to Bob's mail server. List all the transport and application layer…
Which recurrence relation describes the asymptotic complexity of MergeSort? $T(n) = T(\frac{n}{2}) + \Theta(1)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(1)$ $T(n) = T(\frac{n}{2}) + \Theta(n)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(n)$
A vacuum cleaning robot is equipped with a cleaning unit to clean the floor. Furthermore, the robot has a sensor to detect whether the floor is clean or dirty. Neither the cleaning unit nor the sensor are perfect. From previous experience you know that the robot succeeds in cleaning a dirty…
Which XXX will generate a valid output? #include <iostream> #include <stdexcept> using namespace std; int GetDay() { int inDay; cout << "Enter Day: "; cin >> inDay; if (1 > inDay || inDay > 31) { } } XXX; return inDay; int main() { int userDay; int userMonth; try { userDay = GetDay(); cout <<…
P4. 2개의 CDMA 송신자가 각각 (1, 1, 1, -1, 1, -1, -1, -1), (1, -1, 1, 1, 1, 1, 1, 1)의 코드를 갖고 있다면, 상대방 수신자가 데이터를 제대로 해석할 수 있겠는가? 설명하라.
Question 9 (10 points) Stable Matching Problem Below (in bold) is an unstable matching using the ranking matrix for the Hufflepuff Quidditch team. Coach Chaser Beater Keeper Seeker Alice 2,4 1,5 3,5 5,2 4,2 Bob 5,3 4,3 3,3 2,3 1,3 Chris 4,2 5,2 3,4 1,5 2,4 Dixon 1,5 2,1 3,2 4,4 5,1 Eve 2,1 4,4…
Question 23 If nameList is a JList component, use the following statement to display 4 rows in nameList. nameList.setDisplayRowCount(4); nameList.setShowRowCount(4); nameList.setVisibleRowCount(4); nameList.setRowCount(4);
Given the following equation: $\begin{cases} a_1 = 3 \\ a_n = 2a_{n-1} + 5 \end{cases}$ finish the following recursive function: (assume that iteration >=1)
Application service providers (ASPs) supply the information that is available through the Internet. True False
Question 24 The technologies that support cloud-based storage services are similar to those used to manage the contents of multilevel primary storage caches. Odisk management system Ostorage management system Ofile management system Ocontrol management system
Question 9 1 pts In a pipelined processor, what is the primary problem associated with control hazards, and how is it typically mitigated? Control hazards occur when there is a conflict in the use of registers between instructions, and they are resolved by adding more registers to…
Smartphones are being integrated into the shopping experience and have a variety of tools to make it easy for the consumer to make the exchange. While shopping, Ann uses her smartphone to scan ____ codes that are encoded with information ranging from text, to photos, to website…
measures how long it takes for a unit of data to get to its destination and back, therefore impacting response times. A Network Latency B Channel Bandwidth C Channel Transmission Time D Network Bandwidth
46. Use the Born-Haber cycle, data from Appendix IIB, and Table 9.1 to calculate the lattice energy of CaO. ($\Delta_{sub}H$ for calcium is 178 kJ mol$^{-1}$; IE$_1$ and IE$_2$ for calcium are 590 kJ mol$^{-1}$ and 1145 kJ mol$^{-1}$, respectively; EA$_1$ and EA$_2$ for O are 141 kJ mol$^{-1}$…
Question 15 1 pts What are the contents of registers R0 and R1 after the call of the function named mystery. in the following code fragment (assume numbers in decimal): mov R0, #165 mov R1, #17 bl mystery mystery: add R1, R0, lsr #3 mov R0, R0, lsl #2 mov PC,…
Construct a PDA that matches all strings over $\{a, b\}$ of the form $a^i b^j$ where $i > j$
An imaginary story that makes a general point is called a(n) mythical example. artificial example. hypothetical example. simulated example. synthetic example.
Question 13 Ingress ACL rules typically permit a specific type of externally originated connection. True False
Which of the following layers of the OSI model are responsible for establishing, managing and terminating sessions? Layer 7 Layer 6 Layer 4 Layer 5
Which statements about data warehousing is NOT correct? The data warehouse should be separate from the operational system. Drill-down is a data-mining tool available to users of OLAP. Data cleansing is a process of transforming data into standard form. Normalization is a requirement of…
Question 3 1 pts Which of the following components is NOT a required element for implementing the instruction fetch and incrementing the program counter in a MIPS datapath? Adder Program Counter (PC) Instruction Memory ALU Control Signal
Question 16 1 pts Which of the following best describes the SIMD (Single Instruction stream, Multiple Data streams) architecture? SIMD performs a series of computations on a single data stream in a pipelined fashion, similar to MISD architecture. SIMD processes multiple data elements using a…
A foreign country attempting to access government networks in order to disable a national power grid is an example of: ____ identify the access points in a Wi-Fi network. phishing. denial-of-service attacks. cyberwarfare. cyberterrorism.
In early 1960s to 1970s, a hacker was often: a criminal a creative programmer who wrote elegant or clever code a software expert with harming intent a hacktivist
is an approach to I/O control in which I/O devices and main memory share the same address sp Memory-mapped I/O I/O channels Interrupt-driven I/O Programmed I/O
What is the sum yielded by a two-digit binary number and the two's complement of the same number? a. 1 b. 10 c. 100 d. 1000
Question 24 To determine which item in a list is currently selected use: the getSelectedValue method the getSelectedIndex method both A and B neither A nor B
6. Andi Allepi wanted a condition that only printed the square of number if number was between two values (in this case 64 and 128). However in Andi's code, when number is outside of those bounds (in this case 42), number gets squared and prints, which is not what Andi wanted. Please explain to…
When you create a script for creating a database, which keyword do you use to signal the end of a batch and cause all the statements in the batch to be executed? O GO O EXECUTE O END O START
Which of the following is NOT a type of wireless network attack? Wireless denial-of-service attacks A death-of-the-perimeter attack Unauthorized network access A man-in-the-middle attack using an evil twin
Multiple Answer 1 point Supervised machine learning involves: programmers supervising the machine learning program. training a neural network to identify digital photos of cars or other objects in a very large dataset, with humans assessing whether the machine is correct or incorrect. programs…
Question 20 With \_\_\_\_\_, you can send electrical power over the Ethernet connection. 1Base5 IEEE 802.3af 10GBase-fiber FDDI 10 pts
What is the difference between a trap and an interrupt? Traps are hardware-generated, while interrupts are software-generated. Traps are software-generated, while interrupts are hardware-generated. Traps are synchronous, while interrupts are asynchronous. Traps and interrupts are used for I/O…
Question 3 (10 points) Dynamic Programming / Knapsack Problem item weight value 1 3 $18 2 5 $15 3 4 $20 4 2 $10 The knapsack has a capacity (weight limit) of 10. item (empty) $w_1 = 3, v_1 = 18$ $w_2 = 5, v_2 = 15$ $w_3 = 4, v_3 = 20$ $w_4 = 2, v_4 = 10$ What value will appear in the table at…
If ASCII "A" and "a" are combined into a 16-bit pattern and then appended with a FCS (Frame Check Sequence) generated by a CRC polynomial of $X^5 + X^4 + X + 1$. Determine the FCS. A is 41H and a is 61H in ASCII Show how to verify if the data is corrected or not.
Which of the following statements is NOT true about lossless compression? Lossless compression eliminates redundancy or efficiently encoding the information Lossless compression means no compression occurs but redundancy is removed Lossless compression retains all the original data Examples…
What level of normalization requires that all columns be atomic? 2NF BCNF None of these 1NF 3NF 4NF
Suppose a C++ project has classes Animal, Dog, and Dobermann, with the following 3-level inheritance hierarchy: A Dobermann is-a Dog A Dog is-an Animal Suppose the following code is in an application program that uses the Animal, Dog, and Dobermann classes: int main() { { } Dobermann…
Apply: Kruskal's Algorithm and Dijkstra's Algorithm GRAPHS SHORTEST PATH PROBLEM Sample Problem: What is the least expensive set of telephone lines needed to connect computers in San Francisco with those in New York. DISTANCE Boston 860 1855 Chicago 191 908 New York San Francisco 349 Los…
(a) [10 points] Let R(A, B, C, D, E, F) be a relation schema, and let S = {A → B, BD → E, EC → A, CF → D, EF → B, C → E} be a set of functional dependencies. Use the Chase test to determine if the following decomposition is lossless. Decomposed relations: R₁(A, B, E), R₂(B, D, E), R₃(C, E, F),…
What are disadvantages of using electronic software to analyze qualitative data? Amount of time and people needed Possibility of incorrect coding based on syntax Multiple copies of datasets and coding data Alleviation of rigor
When you add a hyperlink to a cell, the text in the cell appears in the Hyperlink cell style, which is usually ______ and ______. a color; bold blue; italic a color; underlined purple; underlined
1. Write a program that takes a string as user input and returns the reverse of the string with '+' between each character. Example Input/Output: Input: The Output: e+h+T
In the context of the ElGamal signature, the public key is (499, 185, B), where "B" is not known to you. Two packages were sent through the insecure channel as follows: (321, 272, 321) (321, 135, 273) Was there a re-use of the ephemeral key?
Some children are playing with soap bubbles, and you become curious as to the relationship between soap bubble radius and the pressure inside the soap bubble. You reason that the pressure inside the soap bubble must be greater than atmospheric pressure, and that the shell of the soap bubble is…
Which living artist is considered the "father of digital art" based on his work beginning in the 1960s? Steve Sasson Lillian Schwartz Tim Berners-Lee Charles Csuri
Question 23 1 pts Which of the following statements accurately describes a feature or optimization of the NetFPGA 10-Gigabit Ethernet card and its associated technologies? Polling involves the NIC sending periodic interrupts to the processor to check the status of I/O operations, rather than…
What is the primary role of constructors in Java? To define methods To provide initial values inside the object To declare variables To create classes
Problem 1: Vehicle Fuel Efficiency Classification Vehicle Type Engine Size Fuel Type Mileage Safety Rating Fuel Efficiency (Nominal) (Continuous) (Nominal) (Continuous) (Ordinal) (Target) Sedan 2.0 Gasoline 35.5 Low Fuel Efficient SUV 3.5 Diesel 23.4 Medium Not Fuel Efficient Hatchback 1.6…
Chapter 5 1. Assume you have a byte-addressable machine that uses 32-bit integers and you are storing the hex value 3456 at address 0. ◆a) Show how this is stored on a big endian machine. b) Show how this is stored on a little endian machine. c) If you wanted to increase the hex value to…
Question 17 6 pts In our double free attack on Fast bins, we have the following bin layout preparation in step 1: (1) If we let chunk 7 to point to chunk 7, the attack still works. [Select] (2) If our attack, we allocate chunk 7 and edit it to point to victim chunk. We can do the same thing to…
Critical Thinking Questions (6 points each) 26. Explain how the concept of data sharding in NoSQL databases balances scalability and consistency and describe a situation where sharding may introduce challenges. 27. What is the difference between a primary key and a composite key? Provide an…
[3] 7. (a) Apply Kruskal's algorithm on the weighted graph below to find a minimum spanning tree.
Match the characteristic to the category. (Not all options are used.) contained in the Layer 3 header contained in the Layer 2 header separated into OUI and a unique identifier separated into a network portion and a unique identifier 32 or 128 bits 48 bits 64 bits IP address MAC…
Refer to the following assembly language program and determine data stored in result at the end of the program. What is the value of W9? .global_start _start: LDR x5, = var1 //x5 points to var LDR x6, result //x6 points to result mov w8, #7 // index for the loop loop: LDR w7, [X5] // move value…
Which one is NOT true for small businesses when it comes to digital security? They are usually gateways to larger systems. They often go out of business after a security breach. Unlike large corporations, they use the fame from a security breach to grow. Some can't afford a security staff.
4) (20 points) A state diagram of a sequential circuit is given below. Given x/y, the first is an input x of the circuit and the second number is the output y of the circuit. For example, at state SO, when x/y = 0/0 means that when the input x = 0, the output y is 0 and the next state is SO,…
Problem 2: A banquet hall offers two types of tables for rent: 6-person rectangular tables at a cost of $28 each and 10-person round tables at a cost of $52 each. Alex would like to rent the hall for a wedding banquet and needs tables for at least 250 people. The hall can have a maximum of 35…
Which recurrence relation describes the asymptotic complexity of MergeSort? $T(n) = T(\frac{n}{2}) + \Theta(1)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(1)$ $T(n) = T(\frac{n}{2}) + \Theta(n)$ $T(n) = 2 \cdot T(\frac{n}{2}) + \Theta(n)$
Software programs that work without direct human intervention to carry out specific tasks for individual users, business processes, or software intelligent agents. genetic algorithms. machine learning systems. deep learning neural networks. expert systems.
In which way is spyware different than viruses, worms, and Trojan horses? A. The user is unaware that something is wrong B. The user often unintentionally spreads it C. The virus allows outsiders can take over the computer remotely D. The attack appears harmless but destroys data after it have…
Critical Thinking Questions (6 points each) 26. Explain how the concept of data sharding in NoSQL databases balances scalability and consistency and describe a situation where sharding may introduce challenges. 27. What is the difference between a primary key and a composite key? Provide an…
A paperless office can be implemented today through a variety of technologies and processing techniques. True False
Scenario: The server hosting your company database is running slower than expected. 1. List Linux commands you would use to monitor CPU, memory, and disk usage. Provide example outputs and explain what to look for. [1.5 marks] 2. How would you identify and kill a process consuming excessive…
Question 21 1 pts Which of the following statements accurately describes the characteristics and advantages of message-passing multiprocessors and warehouse-scale computers (WSCs)? Message-passing multiprocessors use a shared memory architecture, allowing processors to access a common address…
Problem 2: Spam Email Classification Sender Domain (Nominal) Email Length (Continuous) Attachment (Nominal) Spam…
Server-PT PC-PT 2950-24 PT 192.168.4.0/24 192.168.1.0/24 10.1.0.0/24 10.1.8.0/24 10.1.5.0/24 R1/0 Router-PT 2 192.168.2.0/24 Red Static Routing Green RIP Routing Protocol Blue OSPF Routing Protocol Yellow EIGRP Protocol 10.1.1.0/24 Router-DT 2950-24 Switch2 Use the indicated Protocols to…
When you delete a file or folder, it is moved from its current location to the Recycle Bin on your computer. True False
Show all the steps of the following data set when it being sorted with Insertion sort algorithm and calculate the performance of it. 8 14 10 3 12 23 Answer: Insertion Sort 8 14 10 3 12 23 Performance:
Question 20 1 pts Which of the following statements about Domain Specific Architectures (DSAs) is true? DSAs use more complex data types and larger memories compared to general-purpose processors to improve performance. DSAs use general-purpose processors to run a wide range of tasks,…
What is the decimal value of the 5-bit signed number 01001?
takes the idea of breaking down a program into separate and reusable functions to the next level by focusing on the encapsulation of programming policies. Object-oriented programming (OOP) Structured programming Object programming (OP) Aspect-oriented programming (AOP)
Question 15 Question 7 (10 points) Open Hashing (Separate Chaining) Build a hash table using the method of Open Hashing and hash function: $h(w) = val(w_1) \mod 8$ where $val(A) = 0, val(B) = 1,..., and val(Z) = 25$. Terribly, this means your hash function depends only on the initial letter of…
Identify the new treap created after deleting node F, 40. Identify the new treap created after deleting node F, 40.
21.2 LAB: Longest string 21.2.1: LAB: Longest string Write a program that takes two strings and outputs the longer string, followed by "is longer than", and the shorter string. If the strings have the same length then output the strings followed by "are the same length". Ex. If the input…
2. Write a program that takes a keyboard input and writes an output file with the keyboard input as the text within the output file. Example Input/Output Input: pineapples Output: pineapples has been written to ____.txt (____ can be whatever you want to be for the output file name.)
Which type of security threat is the most widespread, affecting almost 90% of companies? O theft of hardware components, such as storage cards O denial of service O computer fraud O phishing
Which cloud computing model allows users to run applications without managing the underlying infrastructure? laaS SaaS PaaS DBaaS
2. For the following graph, apply Bellman-Ford algorithm to find the shortest path distance from vertex S to all other vertices. You need to show the recurrence formula (which is in the textbook), and show the update of the table $dist^k[u]$ for all the $k$ and $u$ (similar to Figure 5.10, in…
9) Given R = (0*10+)*(1 U ε) and S = (1*01+)*. (a) Give an example of a string that is neither in the language of R nor in S. (b) Give an example of a string that is in the language of S but not R. (c) Give an example of a string that is in the language of R but not S. (d) Give an example of a…
1 ... 5 6 7 8 9