Home
Ask directory
AP CS
December 2024
20
AP CS
Q&A Archive of
December 20, 2024
Select Question
December 20 of 2024
What role do constructors play in an inheritance hierarchy? They are not called during object creation. Only the most derived class constructor is called. They initialize the object starting from the top of the hierarchy down. They are optional and can be omitted if the class has no fields.
External storage use different technology than internal storage. True or False
Differential GPS works by using a roving receiver to calculate local timing errors involved in getting a radio signal from satellite to the GPS receiver.
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 algorithm employs a dynamic programming approach. The size of the problem is reduced by exactly one in each step. The…
• A descendant selector that targets the <caption> inside the <table> should: • Use the text-transform property to make the caption UPPERCASE • Set the background color using the CSS variable --table-color • Set the font color to white • Add 10px padding • A pseudo-class selector…
1 (40 points) Use the RTL design process to convert the HLSM diagram below to a Datapath and Controller. - (4 pts) List all local storage with its size (number of bits) - (22 pts) Draw all necessary components for Datapath and 64 x 8 Register file A. Note: Be sure to explicitly list all inputs,…
What is the output of the following C++ sample program? void myFunction(int&, int, int&); int main() { int x = 7; int y = 10; int z = 20; myFunction(x,y,z); cout << "x: " << x << ", y: " << y << ", z: " << z << endl; return 0; } void myFunction(int& a, int b, int& c) { a = b + c; b = a + c; c =…
1. A utility function is usually a \_ member function in a class. 2. A utility function is designed to help another \_ member function in the class perform its task. 1. public 2. private 1. private 2. private 1. public 2. public 1. private 2. public
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
What is an example of using the cloud? Running a website from your on-premises server Storing files on a portable SSD drive Using a web application like Gmail hosted by a cloud provider Printing documents from a local machine synced with a remote drive
A network technician is setting static IPv4 addresses on servers for a sandbox environment. Which settings would be considered optional for ensuring proper communications within a local area network? (Select all that apply.) A. The gateway B. The alternate DNS C. IP address D. Subnet mask
Question 25 1 pts In the context of optimizing the DGEMM matrix multiplication code for multiple processors, which of the following statements is true? The OpenMP pragma added to the DGEMM code enables the use of multiple threads in the innermost loop to improve performance. The final…
Project dimensions can be categorized into three dimensions: S scope and T
An application uses Transmission Control Protocol (TCP) as it requires data to make it to the destination 100% intact. Which of the following are functions of this protocol? (Select all that apply.) A. Uses SYN/ACK packets. B. Uses TFTP. C. Uses negative acknowledgment. D. Uses FIN.
Question 8 1 pts In a pipelined processor, what is the primary cause of a data hazard when multiple instructions are dependent on a single register? The instructions are executed in a non-sequential order, causing conflicts in instruction execution stages. The register file is not large enough…
Question 9 of 25 (required) Which of the following would NOT be considered a type of social engineering strategy? Shoulder surfing Phishing Double tagging Tailgating
3. On the Formulas sheet, in cell D6, enter a formula to find the average benefit cost for the Legal department. Use the defined names for the array ranges. 10 11 12 13
Question 14 1 pts Which of the following statements best describes a multiprocessor system? A multiprocessor system is a computer system with a single processor that uses virtual memory to simulate additional processors for parallel tasks. A multiprocessor system is one that contains multiple…
IEEE 802.11n supports 2.4GHz and 5 GHz. Select one: O True O 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
Why is it important to track the versions of a policy? A Policies are updated, so it is important to keep track of the version. B Management changes frequently, so it is important to record the CISO's name. C It is the only way to access the source code for the policy. D It is important to show…
A statement that is false regardless of the truth values assigned to the atomic statements that compose it is a: [1]. tautology [2]. contingent [3]. contradiction Ο [1]. Ο [2]. Ο [3].
(a) Provide the sequence of 5 types of data analytics from highest to lowest amount of human input required to support decision process. Explain the value of the analytic type that requires the highest amount of human input to support decision process.
QUESTION 23 What will the following code display? int numbers[4] = {99, 87}; cout << numbers[3] << endl; 0 99 87 garbage This code will not compile
5.17 LAB: Word frequencies Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the list will always contain fewer than 20 words. Ex: If the input is: 5…
Which of the following is true about internal storage? Multiple Choice Variable amount of storage Often stores the operating system Portable Slow
Question 6 2 Points What is the Wireless Technology Standard that uses radio waves to directly connect devices that are near each other? (i.e. wireless mouse connection to laptop) (A) Bluetooth (B) Near-field communications (NFC) C) Wi-Fi (D) 5G Communications
ECE 274a/Fall 2024 1 (40 points) Use the RTL design process to convert the HLSM diagram below to a Datapath and Controller. - (4 pts) List all local storage with its size (number of bits) - (22 pts) Draw all necessary components for Datapath and 64 x 8 Register file A. Note: Be sure to…
Question 5 Which of the following exceptions are considered subclasses of logic\_error? (Select all that apply) out\_of\_range overflow\_error invalid\_argument length\_error
f(x,y,z)=\sum_m (0,1,2,3,4,6)
Machine Learning is a type of Artificial Intelligence where a program uses input data to train a model. A True B False
Bluetooth and Zigbee communications between devices require a centralized server. Select one: True False
Which of the following statements appropriately defines a C-string that stores names of up to 25 characters? string name [24]; string name [25]; char name [26]; char name [25]; None of these
All of the following are designed to control exposures from subversive threats EXCEPT: Ofield interrogation one-time passwords Odata encryption O firewalls
2. For each of these statements, identify whether it is logical or not. If it is logical, state whether it is true, false, or if it depends on the situation. Explain how you know. a. $x + 2 = 8$ b. $4 + 3 = 8$ c. $5 + 3 = 8$ d. $4 \$ 3 = 8$
During the implementation process, the systems analyst is a(n) A. change agent B. hindrance to progress C. budget analyst D. roadblock E. estimator
Question 31 1 pts In the context of dependable memory hierarchy, which of the following statements is true about the Hamming Error Correction Code (ECC)? The Hamming ECC requires additional bits to correct multiple-bit errors but cannot detect single-bit errors. The Hamming ECC can only correct…
1) [4 pts] The content of a four-bit register is initially 1110. The register is shifted four times to the right with the serial input being 1010111. What is the content of the register after each shift? 2) [6 pts] The memory units that follow are specified by the number of words times the…
Problem 7: Dynamic Programming The following problem can be useful for data compression. The input is a string s of length n and a list of k strings $x_1, \dots, x_k$ of lengths $m_1, \dots, m_k$ respectively. The problem is to determine the smallest number of copies of strings from $x_1,…
When you instantiate an object from a class, ____ is reserved for each instance field in the class. memory a constructor a field name a signature
- (22 pts) Draw all necessary components for Datapath and 64 x 8 Register file A. Note: Be sure to explicitly list all inputs, outputs along with their respective sizes in your design for each Datapath component. The register file has only 1 READ port and 1 WRITE port. Draw the register file…
Multiple Choice 3 points \_\_\_\_\_\_ is a language structure consisting of a sequence of sentences that are ordered according to rules.
When a named pipe is created, a(n) ____ is also created in the local file system. FIFO file
5.18 LAB: Contains the character Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. For coding simplicity, follow each…
Question 3 SO(2) (i) Write two scheduling criteria of CPU scheduling algorithms (ii) Consider the following 4 processes with their arrival times and burst times: Processes Arrival Time Burst Time P1 0 6 P2 1 4 P3 2 9 P4 3 5 a) Draw Gantt chart for process scheduling using short remaining time…
A thief creates a computer virus that is sent to a business in the form of an email attachment. When the attachment is opened, the virus extracts important bank account numbers and passwords, thereby enabling the thief to successfully transfer money out of a bank account. This is an example…
3.6 What does salting a hash mean? (4) 3.7 The iptables utility is used to implement a firewall on Linux. a) What would happen if you have a rule iptables -P INPUT DROP in iptables? (1) b) What does iptables -F do? (2)
Question 7 1 pts Convert -511.15 base 10 to our own variation of the 32 bit IEEE floating point with the following specifications: sign bit will be bit 0, and bits 1 through 8 will be the 8 bit exponent, and bits 9 through 31 will be the mantissa (do round numbers), which of the following would…
Please follow the step-by-step instructions below: S1: Consider Travelling Salesman Problem. Problem parameters are randomly generated from the uniform distribution between 10 and 100. S2: Solve the problem with the mathematical model. S3: Solve the problem with heuristic algorithm. S4: Compare…
Problem 2: Using Kruskal's algorithm, find the minimum spanning tree of the following graph $W(ab) = 5$ $W(ac) = 6$ $W(ad) = 1$ $W(ae) = 4$ $W(bd) = 2$ $W(bf) = 2$ $W(bk) = 2$ $W(bl) = 7$ $W(cf) = 6$ $W(ck) = 5$ $W(de) = 4$ $W(df) = 5$ $W(dg) = 7$ $W(dh) = 5$ $W(gj) = 4$ $W(ef) = 6$ $W(el) =…
Q8 (3 points) Consider a graph whose vertices are labeled with the letters A through I, with the neighbors of each vertex given by the table below: vertex neighbors vertex neighbors A (B, D, E) F (C, H, I) B (A, C, E) G (D, E, H) C (B, F) H (F, G, I) D (A, E, G) I (F, H) E (A, B, D, G) Assume…
Question 17 5 pts The esi, edi registers store memory addresses in... words bytes dwords 4-bit chunks
DVD stands for digital ______ disc. Multiple Choice versatile verifiable virtual volatile
Which of the following operating systems pioneered time-sharing? MS-DOS CTSS UNIX Windows XP
uses location-based service data to send coupons and other offers to customers smartphones when they are close to a store. Nivea Rocket Fuel The Golden State Warriors Tring 313
is a technique that can improve loop performance by combining two loops into one. Do-nothing looping Loop fusion Prefix incrementing Short-circuit evaluation
A perch has (two words) that helps to regulate its buoyancy.
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)…
What two aspects of security incidents are typically managed by a Chief Information Security Officer (CISO)? Check All That Apply handling security incidents and events designing software applications conducting market analysis for security tools developing security policies
What does "resolution" refer to in a computer display? The number of pixels of a vertical line on the screen The number of pixels on the screen The number of pixels of a diagonal line on the screen The number of pixels of a horizontal line on the screen
17. What is wrong with the following code, if anything, explain why there is an error, or not an error, and why there would or would not be an error. public class Main { public static int[] createArray() { int[] array = {1, 2, 3, 4, 5}; return array; } public static void main(String[] args)…
Practice SRAM Arrays Consider the memory array shown below. Assume that each SRAM's address is connected to ADR[14..0] and that its R/W signal is directly connected to the array R/W input. The SRAMs' chip select inputs are driven from the array inputs as shown below. $CS0 = \overline{ADR[16]}…
In this project, you will design two classifiers: a naive Bayes classifier, and a perceptron classifier. You will test your classifiers on two image data sets: a set of scanned handwritten digit images and a set of face images in which edges have already been detected. Even with simple…
Question 22 A simple knowledge management system might consist of using collaboration software. False True
How many different numbers can be obtained using five binary bits? 63 31 63 32
11 Which features should be part of a good knowledge base software? Check all that apply. Ability to add company logos to the design Searchability Intuitive organizational structure Ability to manage viewing and editing permissions
QUESTION 2 What are the valid indexes for the string 'New York'? -1 through 6 0 through 7 -1 through -8 0 through 8
Which of the following is NOT a common type of interrupt? Power interrupt Hardware interrupt Software interrupt Timer interrupt
Question 25 What is the overall speedup of a system(s) that spends 55% of its time on I/O with a disk upgrade that provides for 50% greater throughput.
For a net crossing from clock domain ClkA to clock domain ClkB, Given that both clocks are of exactly same frequency, choose the correct option: Pick ONE option No synchronizer is needed as both clocks are of same frequency Synchronization is not needed if it is ensured that there is no skew…
d. In cell C2, enter a formula to calculate the total sale. Multiply the quantity sold (cell B2) by the price per box (cell F1). You are going to copy this formula to cells C3:C9, so use relative and absolute references as appropriate. e. Copy the formula in cell C2 to cells C3:C9. f. Format…
Multiple Choice 3 points What is the role of the individual in the System Development Lifecycle (SDLC) responsible for generating the system request? Project starter Project sponsor Project investor Project initiator
What is the time complexity of an algorithm that performs better than $O(n \log n)$ but worse than $O(n)$ for large input sizes $n$? Please be aware that there will be point deductions for incorrect answers. $O(\sqrt{n})$ $O(\log \log n)$ $O(n \log \log n)$ $O(\log…
Question 4 (25 marks) The distance between the cities is given in a logistics network between several cities as shown in. Figure Q4 below. A B 10 E 12 7 6 3 16 D 5 G 9 2 14 C F 8 Figure Q4 - Logistics Network I (a) The goods need to be shipped from City A to City G, determine the shortest path…
Using Simulated Annealing to Solve the Traveling Salesperson Problem program a simulated annealing heuristic to solve the TSP problem in Python. Here's an implementation: import math import random import matplotlib.pyplot as plt # Define the distance function between two cities def…
The \_\_\_\_\_ loop checks the value of the loop control variable at the bottom of the loop after one repetition has occurred. O for O while O else O do...while
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).
To promote cultural change, the goal should be to make security policies \_\_\_? Instinctively reactive Highly technical Be reviewed every two years A and C only
Question 49 In the following code snippet, x'= multiply(2, 5) what is the multiply? a subprocess a function a variable a process 2 pts
Which of these is not a key component of Blockchain? Obfuscated technology Peer-to-Peer network Immutable ledger Public/Private key encryption
Which of the following layers of the OSI model are responsible for logical addressing, forwarding and routing across networks? Layer 2 Layer 3 Layer 4 Layer 1
DIKW helps describe the evolution of knowledge practices. DIKW stands for D $\boxed{}$, K $\boxed{}$, and W $\boxed{}$.
Question 16 is a short-range wireless communication technology that acts as a supporting technology for mobile commerce (m-commerce) applications. A 4G network Bluetooth A 3G network E-procurement
In UTF-8 standard, a 8-bit data will occupy 2 UTF-8 bytes. For example if the data is 1001 0011 then in UTF-8, it becomes 110 0 0010 10 01 0011. Explain how this encoding can be implemented using an assembly language program. You can use a flowchart, a pseudo program or write an assembly…
Craigslist is an example of: OC2C e-commerce OB2B e-commerce OB2C e-commerce OB2G e-commerce
The \_\_\_\_\_ domain connects an organizations private network to the Internet? LAN-to-Wireless LAN-to-DMZ WAN-to-SAN LAN-to-WAN
If you have the following input a into a convolution layer with a 2x2 filter and stride of 1. a = 4 6 1 1 1 3 1 3 4 0 0 8 8 5 4 0 b = 1 2 -4 7 What will the result of a convolved with b be? Note: The answers are written in nested list/matrix format so that the above matrix would be a =…
Which of the following information is typically NOT stored in a PCB? Process ID Program counter File descriptors Memory allocation information
Which of the following is NOT a strategy to prevent thrashing? Increasing the degree of multiprogramming. Using a more effective page replacement algorithm. Increasing the amount of physical memory. Kill processes.
Vehicle VehicleID TypeCode R YearNumber R MakeCode R ModelName R PlateID R StateCode R Registration Date VehicleEvent VehicleID EventNumber Event EventNumber EventDateTime R Location Desc R ReportDesc EventCode R CauseEventNumber ReportOfficerNumber R Officer OfficerNumber BadgeNumber…
What is the benefit of using a cloud-based file storage system opposed to on-premise servers? On-premise servers can't offer very much storage space. Cloud storage is faster. Organizations don't need to expend the energy of running their own servers. On-premise servers can only be accessed by…
Encryption helps protect sensitive information from an unauthorized person who gains access to your email. The type of encryption that uses both a public and private key is known as: A) Asymmetric encryption B) Parallel encryption C) Symmetric encryption D) Dual encryption
Question 11 Consider the following code: cmp t1, bx Select the option that best explains what the code is doing. O compares bx with contents of t1 O compares memory address of t1 with bx O none of these 5 pts
QUESTION 16 Which of the following is not part of AI? Supervised Learning Unsupervised Learning Deep Learning CNN (Convolutional Neural Network) NPV (Net Present Value)
Problem 3: Search Tree Suppose that we have numbers between 1 and 100 in a binary search tree and want to search for the number 45. Which (possibly multiple) of the following sequences could be the sequence of nodes examined? Underline them. Show your work! 5, 2, 1, 10, 39, 34, 77, 63 1, 2, 3,…
At sea level the values of standard temperature and pressure are? 15°C and 29.92 inches HG 59°C and 1013.2 millibars 59°F and 29.92 millibars
12. Design a counter with the following repeated binary sequence: 0, 1, 2, 3, 4, 5, 6. Use JK flip-flops.
Question 30 1 pts Which of the following statements about cache performance and organization is NOT accurate? Memory-stall clock cycles only include the time spent waiting for cache hits, not misses. Reducing the miss rate can be achieved by decreasing the probability that two different memory…
Evaluate the integral by making the given substitution. (Use C for the constant of integration.) $\int x^2 \sqrt{x^3 + 5} dx$, $u = x^3 + 5$
If we implement heap as a maximum heap, and remove a node from the following heap, what are the possible values of the root node after the remove operation? 100 19 36 17 3 25 1 2 7 A 36 B 7 C 2 D 1
are items in a set of technical instructions that can be used multiple times and may be required to manipulate or transform other items. Tools Materials Equipment Special conditions Dangers
Rapid elasticity in cloud computing allows: Fixed scalability for cloud resources Scaling resources up or down automatically as needed Limiting the resources available to customers Cloud customers to manage physical hardware
Question 15 10 pts ------ allows you to combine two or more data paths, or links, into one higher-speed link. The Spanning Tree Algorithm Link aggregation 802.1ax A virtual LAN Quality of service
Consider the above data and check whether the query Q with (Arrival time, Size of input, and Deadline) meets the execution criteria of job scheduling w.r.t MapReduce or not. (i) Arrival time of Query: at 800 sec, (ii) Deadline of Query: 60 sec. (iii) The initial time of the map at a time…
Access control Oprovides additional protection for sensitive data that is transmitted through the communication networks such as the Internet. Oregulates the flow of information among accessible objects. Oprevents authorized users of a statistical database from accessing information about…
Which of the following is not an example of unauthorized access to corporate information? A Documents locked in a file cabinet B Stealing a USB drive from a computer C Shoulder surfing D Unattended documents at the copier
QUESTION 10 Visitor Pattern [Total marks: 10] [10 Marks] With the aid of example code, describe the Visitor pattern. Why is it particularly suited to "walking an abstract syntax tree"? [End Question 10]
One of the ways in which you can group classes is by using _____. enumeration overloading composition shadowing
\_\_\_ refers to the complete malfunction of a computer system. computer burnout System failure A spike An interrupted power supply
Question 31 In Internet Explorer, the Security tab controls the website's pop-up blocker. True False
A data ______ is a database that stores huge amounts of data that have been prepared for data mining analysis by being cleaned of errors and redundancy. O cluster O firewall O warehouse O authentication
Clementine, DataScope Pro, GoldMine, and MineSet are what type of software packages? A) Data mining B) Word processing C) Data discovery D) Customer relationship management
What is vsftpd? Name two other server packages that may be used for the same purpose. Part of an administrator's duty is to monitor the system's activities using sar. a) Which activities will be monitored? b) When will data be gathered, assuming default settings are used? What are the 5 main…
What should be the value of X so that the edge EC is not select by Prim's algorithm when starting from vertex A? 1 D E X 3 10 C 7 5 A B Select one: a. X > 7 b. X > 3 c. X > 10 d. X > 5
After execution of the following SQL query SELECT CID, CName, Make, Rtn FROM Customer JOIN Rentals ON Customer. CID = Rentals. CID WHERE Rentals.CID > 20 The values appearing in the column CName of the result are: OJONES, JONES, MARTIN, SIMON, SIMON JONES, MARTIN, SIMON JONES, MARTIN, SIMON,…
Which of the following are Access Security Controls: Data encryption Two-factor authentication Library (folder) controls all of the choices are correct Intrusion-prevention system (IPS)
A ______ is stored in a stand-alone executable program, is usually sent as an e-mail attachment and runs automatically when the attachment is opened. Trojan worm macro signature
20. Tabulate the PLA programming table for the four Boolean functions listed below. Minimize the numbers of product terms. $A(x, y, z) = \sum(1, 2, 4, 6)$ $B(x, y, z) = \sum(0, 1, 6, 7)$ $C(x, y, z) = \sum(2, 6)$ $D(x, y, z) = \sum(1, 2, 3, 5, 7)$
The Fourth Amendment was established to protect criminals. True False The Fourth Amendment was established to protect criminals. True False
What type of cyber attack occurs when a Hacker gains control of computers via the Internet in order to overload the servers ? A Ransomware B Denial-of-Service C Data Breach D Cyberterrorism Question 20 A business case is a justification for making or continuing to make an investment in a new or…
When using the Huffman coding algorithm to code the word "goodness," the letter n is encoded as
Given the Full Adder Block Diagram below: A=1110$_2$ B=1101$_2$ SEL=0 What is the value of SUM, S where S=(S$_4$,S$_3$,S$_2$,S$_1$,S$_0$)? 10110 base 2 11011 base 2 29 base 10 11000
Which of the following types of constraints will allow NULL values? a. UNIQUE b. FOREIGN KEY c. PRIMARY KEY a. and b.
Which of the following is not considered a "best practice" that HR managers should consider to secure information security and privacy? Do not allow passwords to be shared. Change passwords frequently. Make backup copies of data files and programs. Train users on how to securely use and handle…
In a three-layer architecture, the \_\_\_\_\_\_\_\_\_ layer carries out the rules and procedures of business processing
When you use the Management Studio to create a database, including its tables and indexes, the Management Studio actually generates and runs the \_\_\_\_\_\_\_\_\_ statements that are necessary to create the database. O DML O both a and b O none of the above O DDL
Your boss has asked you to connect three new laptops to the wireless network "WLAN42." It runs at a speed of 54 Mbps only and a frequency of 2.4 GHz only. What IEEE 802.11 standard should you implement when connecting the laptops to the WAP? A) 802.11a B) 802.11b C) 802.11g D) 802.11n
If the magnitude of the electric field in air exceeds roughly $3 \times 10^5$ N/C, the air breaks down and a spark forms. For a two-disk capacitor of radius 52 cm with a gap of 3 mm, what is the maximum charge (plus and minus) that can be placed on the disks without a spark forming (which would…
Hexadecimal numbers are used for representing color digitally. For example the hexadecimal number 6FBA68 represents this color in the RGB color system. The first pair of digits represents the amount of red, the second pair is green, and the last pair blue. Convert each of the following…
3.2. What does the following Turing machine do? Q = {q₀, q₁} Σ = {a,b} Γ = {a,b,□} F = {q₁} δ(q₀,a) = (q₀,b,R) δ(q₀,b) = (q₀,a,R) δ(q₁,□) = (q₁,□,L)
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
CMP 338 Final Final B Each numbered problem set is worth 20 points which are evenly divided among the problems in that set. 1) Given: $8 - 3 * (5 - 2 * (1 + 7 / 2 ^ 2) + 1) ^ 2$ a) Trace the integer infix evaluation algorithm. b) Code the enqueue and dequeue methods of a Queue of integers…
Network drives exist local to the system unit, either within the system unit or nearby. True or False True False
Normalization is used to optimize data retrieval reduce update anomalies normalize storage requirements None of these create a distributed environment
A wireless sensor is an autonomous device that monitors its own condition as well as physical and environmental conditions around it; it is an underlying technology of __________. O Deep Learning O Reinforcement Learning O Federated Learning O Internet of Things (IoT)
1. Pascal programming language supports bitpacked arrays. A bitpacked array can only contain binary digits. Originally, each bit is kept in a separate word in the memory as shown in the table given on the left. In a bitpacked array, a word (32-bit memory cell) can contain 32 binary elements as…
(3 pts) P8-3: Consider you are representing the neural networks with the computational graph, shown in Figure 5. When the activation function is sigmoid, provide the representation for $\frac{dL}{dz^{[2]}}$. (with a and y) $z^{[1]} = W^{[1]}x + b^{[1]}$ $a^{[1]} = \sigma(z^{[1]})$ $z^{[2]} =…
Question 32 The ____ model describes a computer's capability to deliver resources to application software. operating system
1. What are the advantages of using Virtual Memory? 2. Determine which one is faster the asynchronous bus or the synchronous bus? Explain why sometimes we may opt to use the slower one? 3. Using the code below, answer the following questions: add \$s1, \$s3, \$s4 lw \$v0, 0(\$s1) sub \$v0,…
The term \_\_\_\_\_\_\_\_\_\_\_ describes software that "glues" together parts of a client/server or multitier application.
A network technician is configuring hosts to request IP configuration from a server. What protocol is the technician configuring? A. HTTPS B. SSH C. DHCP D. TFTP
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),…
Who is responsible for assigning economic value to an asset? A The data user B The data owner C A security officer D A department manager
Question 11 1 pts Which of the following statements accurately describes the concept of static multiple-issue processors and their functionality? Static multiple-issue processors rely on the processor hardware to dynamically determine which instructions can be issued together in a given clock…
Bluetooth is a/an ____ standard. a. IEEE 802.15.1 b. IEEE 802.15.3 c. IEEE 802.15.4 d. IEEE 802.11
Piconet is the basic unit of Bluetooth networking. Select one: O True O False
Question 44 4.1 pts Suppose there are four classes: Shape, Rectangle, Triangle, and Circle. All four classes have a virtual function named draw. Shape is an abstract base class, and Triangle, Circle, and Rectangle are all non-abstract derived classes that inherit from the Shape class. Suppose…
Smoking marijuana raises a user's heart rate 20-100% shortly afterward. O True O False
A technique in which one system models the behavior of another system is called _____. O recursion O imitation O stimulation O simulation
Question 7 3. a) List the FIVE (5) methods of interacting with the system.
Question 13 1 pts When using the SP (stack pointer register), LR (link register), or the PC (program counter register), we must exercise care because an incorrect value can cause our program to have unpredictable results. O True O False
Outdated application controls place a greater reliance on \_\_\_\_? Segment controls Operating system controls Antivirus controls All of the above
Select three true statements regarding persistent cookies. ☐ Collect information about the Internet protocol (IP) Address. ☐ Stored in temporary memory and are lost when the web browser is closed. ☐ Collect information about user preferences. ☐ Collect password and username information.
3. The base class Pet has the protected fields petName, and petAge. The derived class Cat extends the Pet class and includes a private field for catBreed. Your Pet class should be able to: • create a generic pet and print information of the pet using printInfo() (a method you have to…
A new system might have to interface with one or more \_\_\_\_\_\_\_\_, which are older systems that use outdated technology. enterprise resource planning (ERP) systems mission-critical systems legacy systems intrusion detection systems
General controls are designed to ensure that all computer systems work properly. Which of the following is designed to find security holes in your network and to report them to management for corrective action? (A) Biometric identification (B) System performance measures (C) Ethical hacking (D)…
Match each item with a statement below. a. Inexperienced people who copy code or use tools created by knowledgeable programmers b. A group of people with varied skills who perform penetration tests A test that does not divulge to staff that penetration testing is being conducted or disclose…
Attenuation, Atmospheric Absorption, Multipath, and thermal noise cause transmission impairment. Select one: True False
A network technician must allow employee computers to securely connect to the corporate network from alternate locations. What is the best method for the technician to use? A. DMARC B. DHCP scope C. VPN D. VLAN
The simplest way for a CPU to communicate with an I/O device is through programmed I/O. True False
4. Compute values for r1,r2,r3 and r7 for LDMIA, LDMIB, LDMDA and LDMDB. (4) LDMxx ro!, (r3,r1,r7,r2) LDMIA Increment After LDMIB Increment Before LDMDA Decrement After LDMDB Decrement Before High Memory Addresses 16 12 8 4 0 -4 -8 -12 -16 Low Memory Addresses r1 = r2 = r3 = r7 = r1 = r2 = r3…
For the "square box" as shown, dimension "a" is 0.25 meter. What is the value of the "free space capacitance" for the box? 28 pF 3.1 uF 63 pF 19 pF
An iterator behaves in a manner that is similar to the way a pointer behaves. True False
2) (20 points) 2a) Given the C-like code, answer the questions below. Note: 256x16 Register File (with 1 read port and 1 write port) is used for A in the code. 2a.1) (5 pts) Determine minimum number of bits for totalsum such that NO overflow occurs (assume that all values in the register file A…
A ______ resembles a group of computers in which data flows in only one direction from one device to the next. hierarchical network star network bus network ring network
Question 4 Which of the following creates a data frame? import pandas as pd df = pd.DataFrame(data=['A'={10, 100}, 'Z'={20, 400}]) df = pd.DataFrame(data=['A': [10, 100], 'Z': [20, 400]]) df = pd.DataFrame(data={'A'= [10, 100], 'Z'= [20, 400] }) df = pd.DataFrame(data={'A': [10, 100], 'Z': [20,…
Abstract methods in Java: Have both method declaration and implementation. Have only method declaration without implementation. Are defined with the final keyword. Cannot be overridden.
Cloud computing allows users to: Perform time-sharing tasks on mainframes Use computing resources over the internet Install software on personal computers Access resources locally on their devices
Question 19 CLIs usually are easier to learn than GUIs. O True O False
Question 3 2 pts A trigger can be assigned to a(n) O schema O table O view O query Question 4 2 pts A trigger can be assigned to a(n) O database O login O None of these O schema
Let $\phi$ be the golden ratio. Let $T_n = \phi^{2n+1} - \frac{1}{\phi^{2n+1}}$ for $n = 0, 1, 2, \dots$. Derive a recurrence relation for $T_n$ and then apply it to find the value of $\phi^{13} - \frac{1}{\phi^{13}}$.
5. Simplify each expression using boolean identities a. A + 1 = b. A + 0 = c. A + A = d. A + A' = e. A+B+B = f. A+ (AB) = A(1+B)=A_ g. A*1 = h. A*0 = i. AA = j. AA' = k. (A+B)(A+B') =AA+AB'+AB=BB'=A+A(B+B') + BB' l. A XOR 0 = m. A XOR 1 = n. A XOR A = o. A XOR B XOR B = (A+1)(BB')=1(0) = 0
is an approach to I/O control in which I/O devices and main memory share the same address space. O Memory-mapped I/O O I/O channels O Interrupt-driven I/O O Programmed I/O
What is the primary benefit of the time-sharing computing model? Shared access to expensive resources Elimination of resource contention High performance for individual users Reduced system downtime
Which of the following statements about k-means clustering is NOT true? O Means represent the median values of the data points in each cluster. O The number of clusters ($k$) is required to be specified. O K-means is primarily used for unsupervised learning tasks. O The initial centroids are…
Question 21 As applied to FMSs, \_\_\_\_\_\_\_\_\_\_\_ describes methods of securing file content against hardware failure.
Question 25 When an item in the combo box is selected, the combo box executes its action event listener's actionPerformed method, passing: an ItemEvent object as an argument. an ActionEvent object as an argument. the combo box as an argument. a SelectionEvent object as an argument. 2 pts
Question 5 1 pts Which of the following is a major advantage of a multicycle implementation in computer architecture? It allows an instruction to be executed in a single clock cycle, reducing the number of temporary registers needed. It increases the number of ALUs and memory units to speed up…
What does the velocity aspect of Big Data refer to? The speed at which data is generated and processed The diversity of data types and sources The accuracy of data measurements The storage location of data
A network technician is checking the records to ensure all the host names match up with the proper IP addresses for the network. What records is the technician checking? (Select all that apply.) A. A B. MX C. FQDN D. AAAA
The process in which a variable hides another variable is known as _____. • shadowing O composition O overloading O packaging
int main() { srand(time(0)); vector<Card> deck; vector<Card> foundation; vector<vector<Card>> tableau(7); // Initialize deck and deal initial cards initializeDeck(deck); dealInitialCards(tableau, deck); while (true) { printLayout(tableau, foundation, deck); int choice; cout << "Choose an…
Convert the following TM to an unrestricted, computational grammar. Convert the following TM to an unrestricted, computational grammar.
Create a design in Logisim that meets the following requirements. 1. Five state Counter. You may use logic gates (AND, OR, etc.) and premade individual memory bits, not a premade block. 2. The circuit should cycle through 5 states, indicated by the current counter value. States correspond to:…
Question 15 Which statement is NOT correct? The VSAM structure: may use an overflow area for records. is used for very large files that need both direct access and batch processing. is appropriate for files that require few insertions or deletions. provides an exact physical address for each…
QUESTION 1 Convert this C++ program (and accompanying function) into x86 assembly language Make sure to use the proper best practices taught in Chapter 8 regarding parameter passing and local variables #include <iostream> using namespace std; // Use registers instead of variables listed…
A network technician is setting static IPv4 addresses on servers for a sandbox environment. Which settings would be considered optional for ensuring proper communications within a local area network? (Select all that apply.) A. The gateway B. The alternate DNS C. IP address D. Subnet mask
Step 2: Implement parseScores() (1 point) Implement the parseScores() function to take a space-separated string of scores as an argument and return an array of score strings. Each score is a number in the range [0, 100]. Ex: parseScores ("45 78 98 83 86 99 90 59") should return ["45", "78",…
1.5 Consider the excerpt from the output of a route command below: (ignore the metric, ref and use columns) (7) Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 List all the information you can determine…
Question 30 1 pts Primary elections deprived parties of a crucial political resource: the ability to control access to elective public office by controlling nominations. True False
Question 23 Each computer on the network is assigned an IP address for easy identification A True B False
When a program uses the try-catch statements for exception processing, if no exception occurs, then the code in the catch block executes exactly once. O True False
The main objective of inheritance in OOP is: Code Complexity Code Encapsulation Code Abstraction Code Reusability
The circuit below represents a BCD to 7 Segment LED Decoder/Driver. The BCD input variables: D MSB C B A LSB The output is a decimal number as displayed by the 7 segment LED Given the BCD input: D=0, C=1, B=0, A=0 You would expect to see the decimal number ______…
Which of the following information is typically NOT stored in a PCB? Process ID Program counter File descriptors Memory allocation information
What purpose does a data lake serve in a business intelligence environment? It is exclusively used for data visualization. It holds large volumes of raw, unstructured data for advanced analytics. It processes data in real-time for immediate insights. It stores structured data specifically for…
The advantages of using linked lists over arrays include O a. The maximum size does not need to be pre-determined, when using a linked list. Ob. It is easier to insert an item into the middle of a linked list than into the middle of an array. Oc. A linked list uses less memory than an array…
Question 15 Which of the following are considered basic list operations? (Select all that apply) Sort the list Search the list Insert an item in the list Print the list
About Fixenverleaks, LLC: Fixinverleaks. LLC is a residential service company that does Plumbing. They want you to design a database that tracks all jobs for their customers. A "Job" is a single service call to a customer to fix some sort of plumbing issue. Over the years, a customer can use…
Question 5 of 5 What type of connector does this RAID card require to connect to the motherboard? M.2 PCIe x16 SATA DIMM
What role do constructors play in an inheritance hierarchy? They are not called during object creation. Only the most derived class constructor is called. They initialize the object starting from the top of the hierarchy down. They are optional and can be omitted if the class has no fields.
External storage use different technology than internal storage. True or False
Differential GPS works by using a roving receiver to calculate local timing errors involved in getting a radio signal from satellite to the GPS receiver.
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 algorithm employs a dynamic programming approach. The size of the problem is reduced by exactly one in each step. The…
• A descendant selector that targets the <caption> inside the <table> should: • Use the text-transform property to make the caption UPPERCASE • Set the background color using the CSS variable --table-color • Set the font color to white • Add 10px padding • A pseudo-class selector…
1 (40 points) Use the RTL design process to convert the HLSM diagram below to a Datapath and Controller. - (4 pts) List all local storage with its size (number of bits) - (22 pts) Draw all necessary components for Datapath and 64 x 8 Register file A. Note: Be sure to explicitly list all inputs,…
What is the output of the following C++ sample program? void myFunction(int&, int, int&); int main() { int x = 7; int y = 10; int z = 20; myFunction(x,y,z); cout << "x: " << x << ", y: " << y << ", z: " << z << endl; return 0; } void myFunction(int& a, int b, int& c) { a = b + c; b = a + c; c =…
1. A utility function is usually a \_ member function in a class. 2. A utility function is designed to help another \_ member function in the class perform its task. 1. public 2. private 1. private 2. private 1. public 2. public 1. private 2. public
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
What is an example of using the cloud? Running a website from your on-premises server Storing files on a portable SSD drive Using a web application like Gmail hosted by a cloud provider Printing documents from a local machine synced with a remote drive
A network technician is setting static IPv4 addresses on servers for a sandbox environment. Which settings would be considered optional for ensuring proper communications within a local area network? (Select all that apply.) A. The gateway B. The alternate DNS C. IP address D. Subnet mask
Question 25 1 pts In the context of optimizing the DGEMM matrix multiplication code for multiple processors, which of the following statements is true? The OpenMP pragma added to the DGEMM code enables the use of multiple threads in the innermost loop to improve performance. The final…
Project dimensions can be categorized into three dimensions: S scope and T
An application uses Transmission Control Protocol (TCP) as it requires data to make it to the destination 100% intact. Which of the following are functions of this protocol? (Select all that apply.) A. Uses SYN/ACK packets. B. Uses TFTP. C. Uses negative acknowledgment. D. Uses FIN.
Question 8 1 pts In a pipelined processor, what is the primary cause of a data hazard when multiple instructions are dependent on a single register? The instructions are executed in a non-sequential order, causing conflicts in instruction execution stages. The register file is not large enough…
Question 9 of 25 (required) Which of the following would NOT be considered a type of social engineering strategy? Shoulder surfing Phishing Double tagging Tailgating
3. On the Formulas sheet, in cell D6, enter a formula to find the average benefit cost for the Legal department. Use the defined names for the array ranges. 10 11 12 13
Question 14 1 pts Which of the following statements best describes a multiprocessor system? A multiprocessor system is a computer system with a single processor that uses virtual memory to simulate additional processors for parallel tasks. A multiprocessor system is one that contains multiple…
IEEE 802.11n supports 2.4GHz and 5 GHz. Select one: O True O 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
Why is it important to track the versions of a policy? A Policies are updated, so it is important to keep track of the version. B Management changes frequently, so it is important to record the CISO's name. C It is the only way to access the source code for the policy. D It is important to show…
A statement that is false regardless of the truth values assigned to the atomic statements that compose it is a: [1]. tautology [2]. contingent [3]. contradiction Ο [1]. Ο [2]. Ο [3].
(a) Provide the sequence of 5 types of data analytics from highest to lowest amount of human input required to support decision process. Explain the value of the analytic type that requires the highest amount of human input to support decision process.
QUESTION 23 What will the following code display? int numbers[4] = {99, 87}; cout << numbers[3] << endl; 0 99 87 garbage This code will not compile
5.17 LAB: Word frequencies Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the list will always contain fewer than 20 words. Ex: If the input is: 5…
Which of the following is true about internal storage? Multiple Choice Variable amount of storage Often stores the operating system Portable Slow
Question 6 2 Points What is the Wireless Technology Standard that uses radio waves to directly connect devices that are near each other? (i.e. wireless mouse connection to laptop) (A) Bluetooth (B) Near-field communications (NFC) C) Wi-Fi (D) 5G Communications
ECE 274a/Fall 2024 1 (40 points) Use the RTL design process to convert the HLSM diagram below to a Datapath and Controller. - (4 pts) List all local storage with its size (number of bits) - (22 pts) Draw all necessary components for Datapath and 64 x 8 Register file A. Note: Be sure to…
Question 5 Which of the following exceptions are considered subclasses of logic\_error? (Select all that apply) out\_of\_range overflow\_error invalid\_argument length\_error
f(x,y,z)=\sum_m (0,1,2,3,4,6)
Machine Learning is a type of Artificial Intelligence where a program uses input data to train a model. A True B False
Bluetooth and Zigbee communications between devices require a centralized server. Select one: True False
Which of the following statements appropriately defines a C-string that stores names of up to 25 characters? string name [24]; string name [25]; char name [26]; char name [25]; None of these
All of the following are designed to control exposures from subversive threats EXCEPT: Ofield interrogation one-time passwords Odata encryption O firewalls
2. For each of these statements, identify whether it is logical or not. If it is logical, state whether it is true, false, or if it depends on the situation. Explain how you know. a. $x + 2 = 8$ b. $4 + 3 = 8$ c. $5 + 3 = 8$ d. $4 \$ 3 = 8$
During the implementation process, the systems analyst is a(n) A. change agent B. hindrance to progress C. budget analyst D. roadblock E. estimator
Question 31 1 pts In the context of dependable memory hierarchy, which of the following statements is true about the Hamming Error Correction Code (ECC)? The Hamming ECC requires additional bits to correct multiple-bit errors but cannot detect single-bit errors. The Hamming ECC can only correct…
1) [4 pts] The content of a four-bit register is initially 1110. The register is shifted four times to the right with the serial input being 1010111. What is the content of the register after each shift? 2) [6 pts] The memory units that follow are specified by the number of words times the…
Problem 7: Dynamic Programming The following problem can be useful for data compression. The input is a string s of length n and a list of k strings $x_1, \dots, x_k$ of lengths $m_1, \dots, m_k$ respectively. The problem is to determine the smallest number of copies of strings from $x_1,…
When you instantiate an object from a class, ____ is reserved for each instance field in the class. memory a constructor a field name a signature
- (22 pts) Draw all necessary components for Datapath and 64 x 8 Register file A. Note: Be sure to explicitly list all inputs, outputs along with their respective sizes in your design for each Datapath component. The register file has only 1 READ port and 1 WRITE port. Draw the register file…
Multiple Choice 3 points \_\_\_\_\_\_ is a language structure consisting of a sequence of sentences that are ordered according to rules.
When a named pipe is created, a(n) ____ is also created in the local file system. FIFO file
5.18 LAB: Contains the character Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. For coding simplicity, follow each…
Question 3 SO(2) (i) Write two scheduling criteria of CPU scheduling algorithms (ii) Consider the following 4 processes with their arrival times and burst times: Processes Arrival Time Burst Time P1 0 6 P2 1 4 P3 2 9 P4 3 5 a) Draw Gantt chart for process scheduling using short remaining time…
A thief creates a computer virus that is sent to a business in the form of an email attachment. When the attachment is opened, the virus extracts important bank account numbers and passwords, thereby enabling the thief to successfully transfer money out of a bank account. This is an example…
3.6 What does salting a hash mean? (4) 3.7 The iptables utility is used to implement a firewall on Linux. a) What would happen if you have a rule iptables -P INPUT DROP in iptables? (1) b) What does iptables -F do? (2)
Question 7 1 pts Convert -511.15 base 10 to our own variation of the 32 bit IEEE floating point with the following specifications: sign bit will be bit 0, and bits 1 through 8 will be the 8 bit exponent, and bits 9 through 31 will be the mantissa (do round numbers), which of the following would…
Please follow the step-by-step instructions below: S1: Consider Travelling Salesman Problem. Problem parameters are randomly generated from the uniform distribution between 10 and 100. S2: Solve the problem with the mathematical model. S3: Solve the problem with heuristic algorithm. S4: Compare…
Problem 2: Using Kruskal's algorithm, find the minimum spanning tree of the following graph $W(ab) = 5$ $W(ac) = 6$ $W(ad) = 1$ $W(ae) = 4$ $W(bd) = 2$ $W(bf) = 2$ $W(bk) = 2$ $W(bl) = 7$ $W(cf) = 6$ $W(ck) = 5$ $W(de) = 4$ $W(df) = 5$ $W(dg) = 7$ $W(dh) = 5$ $W(gj) = 4$ $W(ef) = 6$ $W(el) =…
Q8 (3 points) Consider a graph whose vertices are labeled with the letters A through I, with the neighbors of each vertex given by the table below: vertex neighbors vertex neighbors A (B, D, E) F (C, H, I) B (A, C, E) G (D, E, H) C (B, F) H (F, G, I) D (A, E, G) I (F, H) E (A, B, D, G) Assume…
Question 17 5 pts The esi, edi registers store memory addresses in... words bytes dwords 4-bit chunks
DVD stands for digital ______ disc. Multiple Choice versatile verifiable virtual volatile
Which of the following operating systems pioneered time-sharing? MS-DOS CTSS UNIX Windows XP
uses location-based service data to send coupons and other offers to customers smartphones when they are close to a store. Nivea Rocket Fuel The Golden State Warriors Tring 313
is a technique that can improve loop performance by combining two loops into one. Do-nothing looping Loop fusion Prefix incrementing Short-circuit evaluation
A perch has (two words) that helps to regulate its buoyancy.
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)…
What two aspects of security incidents are typically managed by a Chief Information Security Officer (CISO)? Check All That Apply handling security incidents and events designing software applications conducting market analysis for security tools developing security policies
What does "resolution" refer to in a computer display? The number of pixels of a vertical line on the screen The number of pixels on the screen The number of pixels of a diagonal line on the screen The number of pixels of a horizontal line on the screen
17. What is wrong with the following code, if anything, explain why there is an error, or not an error, and why there would or would not be an error. public class Main { public static int[] createArray() { int[] array = {1, 2, 3, 4, 5}; return array; } public static void main(String[] args)…
Practice SRAM Arrays Consider the memory array shown below. Assume that each SRAM's address is connected to ADR[14..0] and that its R/W signal is directly connected to the array R/W input. The SRAMs' chip select inputs are driven from the array inputs as shown below. $CS0 = \overline{ADR[16]}…
In this project, you will design two classifiers: a naive Bayes classifier, and a perceptron classifier. You will test your classifiers on two image data sets: a set of scanned handwritten digit images and a set of face images in which edges have already been detected. Even with simple…
Question 22 A simple knowledge management system might consist of using collaboration software. False True
How many different numbers can be obtained using five binary bits? 63 31 63 32
11 Which features should be part of a good knowledge base software? Check all that apply. Ability to add company logos to the design Searchability Intuitive organizational structure Ability to manage viewing and editing permissions
QUESTION 2 What are the valid indexes for the string 'New York'? -1 through 6 0 through 7 -1 through -8 0 through 8
Which of the following is NOT a common type of interrupt? Power interrupt Hardware interrupt Software interrupt Timer interrupt
Question 25 What is the overall speedup of a system(s) that spends 55% of its time on I/O with a disk upgrade that provides for 50% greater throughput.
For a net crossing from clock domain ClkA to clock domain ClkB, Given that both clocks are of exactly same frequency, choose the correct option: Pick ONE option No synchronizer is needed as both clocks are of same frequency Synchronization is not needed if it is ensured that there is no skew…
d. In cell C2, enter a formula to calculate the total sale. Multiply the quantity sold (cell B2) by the price per box (cell F1). You are going to copy this formula to cells C3:C9, so use relative and absolute references as appropriate. e. Copy the formula in cell C2 to cells C3:C9. f. Format…
Multiple Choice 3 points What is the role of the individual in the System Development Lifecycle (SDLC) responsible for generating the system request? Project starter Project sponsor Project investor Project initiator
What is the time complexity of an algorithm that performs better than $O(n \log n)$ but worse than $O(n)$ for large input sizes $n$? Please be aware that there will be point deductions for incorrect answers. $O(\sqrt{n})$ $O(\log \log n)$ $O(n \log \log n)$ $O(\log…
Question 4 (25 marks) The distance between the cities is given in a logistics network between several cities as shown in. Figure Q4 below. A B 10 E 12 7 6 3 16 D 5 G 9 2 14 C F 8 Figure Q4 - Logistics Network I (a) The goods need to be shipped from City A to City G, determine the shortest path…
Using Simulated Annealing to Solve the Traveling Salesperson Problem program a simulated annealing heuristic to solve the TSP problem in Python. Here's an implementation: import math import random import matplotlib.pyplot as plt # Define the distance function between two cities def…
The \_\_\_\_\_ loop checks the value of the loop control variable at the bottom of the loop after one repetition has occurred. O for O while O else O do...while
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).
To promote cultural change, the goal should be to make security policies \_\_\_? Instinctively reactive Highly technical Be reviewed every two years A and C only
Question 49 In the following code snippet, x'= multiply(2, 5) what is the multiply? a subprocess a function a variable a process 2 pts
Which of these is not a key component of Blockchain? Obfuscated technology Peer-to-Peer network Immutable ledger Public/Private key encryption
Which of the following layers of the OSI model are responsible for logical addressing, forwarding and routing across networks? Layer 2 Layer 3 Layer 4 Layer 1
DIKW helps describe the evolution of knowledge practices. DIKW stands for D $\boxed{}$, K $\boxed{}$, and W $\boxed{}$.
Question 16 is a short-range wireless communication technology that acts as a supporting technology for mobile commerce (m-commerce) applications. A 4G network Bluetooth A 3G network E-procurement
In UTF-8 standard, a 8-bit data will occupy 2 UTF-8 bytes. For example if the data is 1001 0011 then in UTF-8, it becomes 110 0 0010 10 01 0011. Explain how this encoding can be implemented using an assembly language program. You can use a flowchart, a pseudo program or write an assembly…
Craigslist is an example of: OC2C e-commerce OB2B e-commerce OB2C e-commerce OB2G e-commerce
The \_\_\_\_\_ domain connects an organizations private network to the Internet? LAN-to-Wireless LAN-to-DMZ WAN-to-SAN LAN-to-WAN
If you have the following input a into a convolution layer with a 2x2 filter and stride of 1. a = 4 6 1 1 1 3 1 3 4 0 0 8 8 5 4 0 b = 1 2 -4 7 What will the result of a convolved with b be? Note: The answers are written in nested list/matrix format so that the above matrix would be a =…
Which of the following information is typically NOT stored in a PCB? Process ID Program counter File descriptors Memory allocation information
Which of the following is NOT a strategy to prevent thrashing? Increasing the degree of multiprogramming. Using a more effective page replacement algorithm. Increasing the amount of physical memory. Kill processes.
Vehicle VehicleID TypeCode R YearNumber R MakeCode R ModelName R PlateID R StateCode R Registration Date VehicleEvent VehicleID EventNumber Event EventNumber EventDateTime R Location Desc R ReportDesc EventCode R CauseEventNumber ReportOfficerNumber R Officer OfficerNumber BadgeNumber…
What is the benefit of using a cloud-based file storage system opposed to on-premise servers? On-premise servers can't offer very much storage space. Cloud storage is faster. Organizations don't need to expend the energy of running their own servers. On-premise servers can only be accessed by…
Encryption helps protect sensitive information from an unauthorized person who gains access to your email. The type of encryption that uses both a public and private key is known as: A) Asymmetric encryption B) Parallel encryption C) Symmetric encryption D) Dual encryption
Question 11 Consider the following code: cmp t1, bx Select the option that best explains what the code is doing. O compares bx with contents of t1 O compares memory address of t1 with bx O none of these 5 pts
QUESTION 16 Which of the following is not part of AI? Supervised Learning Unsupervised Learning Deep Learning CNN (Convolutional Neural Network) NPV (Net Present Value)
Problem 3: Search Tree Suppose that we have numbers between 1 and 100 in a binary search tree and want to search for the number 45. Which (possibly multiple) of the following sequences could be the sequence of nodes examined? Underline them. Show your work! 5, 2, 1, 10, 39, 34, 77, 63 1, 2, 3,…
At sea level the values of standard temperature and pressure are? 15°C and 29.92 inches HG 59°C and 1013.2 millibars 59°F and 29.92 millibars
12. Design a counter with the following repeated binary sequence: 0, 1, 2, 3, 4, 5, 6. Use JK flip-flops.
Question 30 1 pts Which of the following statements about cache performance and organization is NOT accurate? Memory-stall clock cycles only include the time spent waiting for cache hits, not misses. Reducing the miss rate can be achieved by decreasing the probability that two different memory…
Evaluate the integral by making the given substitution. (Use C for the constant of integration.) $\int x^2 \sqrt{x^3 + 5} dx$, $u = x^3 + 5$
If we implement heap as a maximum heap, and remove a node from the following heap, what are the possible values of the root node after the remove operation? 100 19 36 17 3 25 1 2 7 A 36 B 7 C 2 D 1
are items in a set of technical instructions that can be used multiple times and may be required to manipulate or transform other items. Tools Materials Equipment Special conditions Dangers
Rapid elasticity in cloud computing allows: Fixed scalability for cloud resources Scaling resources up or down automatically as needed Limiting the resources available to customers Cloud customers to manage physical hardware
Question 15 10 pts ------ allows you to combine two or more data paths, or links, into one higher-speed link. The Spanning Tree Algorithm Link aggregation 802.1ax A virtual LAN Quality of service
Consider the above data and check whether the query Q with (Arrival time, Size of input, and Deadline) meets the execution criteria of job scheduling w.r.t MapReduce or not. (i) Arrival time of Query: at 800 sec, (ii) Deadline of Query: 60 sec. (iii) The initial time of the map at a time…
Access control Oprovides additional protection for sensitive data that is transmitted through the communication networks such as the Internet. Oregulates the flow of information among accessible objects. Oprevents authorized users of a statistical database from accessing information about…
Which of the following is not an example of unauthorized access to corporate information? A Documents locked in a file cabinet B Stealing a USB drive from a computer C Shoulder surfing D Unattended documents at the copier
QUESTION 10 Visitor Pattern [Total marks: 10] [10 Marks] With the aid of example code, describe the Visitor pattern. Why is it particularly suited to "walking an abstract syntax tree"? [End Question 10]
One of the ways in which you can group classes is by using _____. enumeration overloading composition shadowing
\_\_\_ refers to the complete malfunction of a computer system. computer burnout System failure A spike An interrupted power supply
Question 31 In Internet Explorer, the Security tab controls the website's pop-up blocker. True False
A data ______ is a database that stores huge amounts of data that have been prepared for data mining analysis by being cleaned of errors and redundancy. O cluster O firewall O warehouse O authentication
Clementine, DataScope Pro, GoldMine, and MineSet are what type of software packages? A) Data mining B) Word processing C) Data discovery D) Customer relationship management
What is vsftpd? Name two other server packages that may be used for the same purpose. Part of an administrator's duty is to monitor the system's activities using sar. a) Which activities will be monitored? b) When will data be gathered, assuming default settings are used? What are the 5 main…
What should be the value of X so that the edge EC is not select by Prim's algorithm when starting from vertex A? 1 D E X 3 10 C 7 5 A B Select one: a. X > 7 b. X > 3 c. X > 10 d. X > 5
After execution of the following SQL query SELECT CID, CName, Make, Rtn FROM Customer JOIN Rentals ON Customer. CID = Rentals. CID WHERE Rentals.CID > 20 The values appearing in the column CName of the result are: OJONES, JONES, MARTIN, SIMON, SIMON JONES, MARTIN, SIMON JONES, MARTIN, SIMON,…
Which of the following are Access Security Controls: Data encryption Two-factor authentication Library (folder) controls all of the choices are correct Intrusion-prevention system (IPS)
A ______ is stored in a stand-alone executable program, is usually sent as an e-mail attachment and runs automatically when the attachment is opened. Trojan worm macro signature
20. Tabulate the PLA programming table for the four Boolean functions listed below. Minimize the numbers of product terms. $A(x, y, z) = \sum(1, 2, 4, 6)$ $B(x, y, z) = \sum(0, 1, 6, 7)$ $C(x, y, z) = \sum(2, 6)$ $D(x, y, z) = \sum(1, 2, 3, 5, 7)$
The Fourth Amendment was established to protect criminals. True False The Fourth Amendment was established to protect criminals. True False
What type of cyber attack occurs when a Hacker gains control of computers via the Internet in order to overload the servers ? A Ransomware B Denial-of-Service C Data Breach D Cyberterrorism Question 20 A business case is a justification for making or continuing to make an investment in a new or…
When using the Huffman coding algorithm to code the word "goodness," the letter n is encoded as
Given the Full Adder Block Diagram below: A=1110$_2$ B=1101$_2$ SEL=0 What is the value of SUM, S where S=(S$_4$,S$_3$,S$_2$,S$_1$,S$_0$)? 10110 base 2 11011 base 2 29 base 10 11000
Which of the following types of constraints will allow NULL values? a. UNIQUE b. FOREIGN KEY c. PRIMARY KEY a. and b.
Which of the following is not considered a "best practice" that HR managers should consider to secure information security and privacy? Do not allow passwords to be shared. Change passwords frequently. Make backup copies of data files and programs. Train users on how to securely use and handle…
In a three-layer architecture, the \_\_\_\_\_\_\_\_\_ layer carries out the rules and procedures of business processing
When you use the Management Studio to create a database, including its tables and indexes, the Management Studio actually generates and runs the \_\_\_\_\_\_\_\_\_ statements that are necessary to create the database. O DML O both a and b O none of the above O DDL
Your boss has asked you to connect three new laptops to the wireless network "WLAN42." It runs at a speed of 54 Mbps only and a frequency of 2.4 GHz only. What IEEE 802.11 standard should you implement when connecting the laptops to the WAP? A) 802.11a B) 802.11b C) 802.11g D) 802.11n
If the magnitude of the electric field in air exceeds roughly $3 \times 10^5$ N/C, the air breaks down and a spark forms. For a two-disk capacitor of radius 52 cm with a gap of 3 mm, what is the maximum charge (plus and minus) that can be placed on the disks without a spark forming (which would…
Hexadecimal numbers are used for representing color digitally. For example the hexadecimal number 6FBA68 represents this color in the RGB color system. The first pair of digits represents the amount of red, the second pair is green, and the last pair blue. Convert each of the following…
3.2. What does the following Turing machine do? Q = {q₀, q₁} Σ = {a,b} Γ = {a,b,□} F = {q₁} δ(q₀,a) = (q₀,b,R) δ(q₀,b) = (q₀,a,R) δ(q₁,□) = (q₁,□,L)
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
CMP 338 Final Final B Each numbered problem set is worth 20 points which are evenly divided among the problems in that set. 1) Given: $8 - 3 * (5 - 2 * (1 + 7 / 2 ^ 2) + 1) ^ 2$ a) Trace the integer infix evaluation algorithm. b) Code the enqueue and dequeue methods of a Queue of integers…
Network drives exist local to the system unit, either within the system unit or nearby. True or False True False
Normalization is used to optimize data retrieval reduce update anomalies normalize storage requirements None of these create a distributed environment
A wireless sensor is an autonomous device that monitors its own condition as well as physical and environmental conditions around it; it is an underlying technology of __________. O Deep Learning O Reinforcement Learning O Federated Learning O Internet of Things (IoT)
1. Pascal programming language supports bitpacked arrays. A bitpacked array can only contain binary digits. Originally, each bit is kept in a separate word in the memory as shown in the table given on the left. In a bitpacked array, a word (32-bit memory cell) can contain 32 binary elements as…
(3 pts) P8-3: Consider you are representing the neural networks with the computational graph, shown in Figure 5. When the activation function is sigmoid, provide the representation for $\frac{dL}{dz^{[2]}}$. (with a and y) $z^{[1]} = W^{[1]}x + b^{[1]}$ $a^{[1]} = \sigma(z^{[1]})$ $z^{[2]} =…
Question 32 The ____ model describes a computer's capability to deliver resources to application software. operating system
1. What are the advantages of using Virtual Memory? 2. Determine which one is faster the asynchronous bus or the synchronous bus? Explain why sometimes we may opt to use the slower one? 3. Using the code below, answer the following questions: add \$s1, \$s3, \$s4 lw \$v0, 0(\$s1) sub \$v0,…
The term \_\_\_\_\_\_\_\_\_\_\_ describes software that "glues" together parts of a client/server or multitier application.
A network technician is configuring hosts to request IP configuration from a server. What protocol is the technician configuring? A. HTTPS B. SSH C. DHCP D. TFTP
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),…
Who is responsible for assigning economic value to an asset? A The data user B The data owner C A security officer D A department manager
Question 11 1 pts Which of the following statements accurately describes the concept of static multiple-issue processors and their functionality? Static multiple-issue processors rely on the processor hardware to dynamically determine which instructions can be issued together in a given clock…
Bluetooth is a/an ____ standard. a. IEEE 802.15.1 b. IEEE 802.15.3 c. IEEE 802.15.4 d. IEEE 802.11
Piconet is the basic unit of Bluetooth networking. Select one: O True O False
Question 44 4.1 pts Suppose there are four classes: Shape, Rectangle, Triangle, and Circle. All four classes have a virtual function named draw. Shape is an abstract base class, and Triangle, Circle, and Rectangle are all non-abstract derived classes that inherit from the Shape class. Suppose…
Smoking marijuana raises a user's heart rate 20-100% shortly afterward. O True O False
A technique in which one system models the behavior of another system is called _____. O recursion O imitation O stimulation O simulation
Question 7 3. a) List the FIVE (5) methods of interacting with the system.
Question 13 1 pts When using the SP (stack pointer register), LR (link register), or the PC (program counter register), we must exercise care because an incorrect value can cause our program to have unpredictable results. O True O False
Outdated application controls place a greater reliance on \_\_\_\_? Segment controls Operating system controls Antivirus controls All of the above
Select three true statements regarding persistent cookies. ☐ Collect information about the Internet protocol (IP) Address. ☐ Stored in temporary memory and are lost when the web browser is closed. ☐ Collect information about user preferences. ☐ Collect password and username information.
3. The base class Pet has the protected fields petName, and petAge. The derived class Cat extends the Pet class and includes a private field for catBreed. Your Pet class should be able to: • create a generic pet and print information of the pet using printInfo() (a method you have to…
A new system might have to interface with one or more \_\_\_\_\_\_\_\_, which are older systems that use outdated technology. enterprise resource planning (ERP) systems mission-critical systems legacy systems intrusion detection systems
General controls are designed to ensure that all computer systems work properly. Which of the following is designed to find security holes in your network and to report them to management for corrective action? (A) Biometric identification (B) System performance measures (C) Ethical hacking (D)…
Match each item with a statement below. a. Inexperienced people who copy code or use tools created by knowledgeable programmers b. A group of people with varied skills who perform penetration tests A test that does not divulge to staff that penetration testing is being conducted or disclose…
Attenuation, Atmospheric Absorption, Multipath, and thermal noise cause transmission impairment. Select one: True False
A network technician must allow employee computers to securely connect to the corporate network from alternate locations. What is the best method for the technician to use? A. DMARC B. DHCP scope C. VPN D. VLAN
The simplest way for a CPU to communicate with an I/O device is through programmed I/O. True False
4. Compute values for r1,r2,r3 and r7 for LDMIA, LDMIB, LDMDA and LDMDB. (4) LDMxx ro!, (r3,r1,r7,r2) LDMIA Increment After LDMIB Increment Before LDMDA Decrement After LDMDB Decrement Before High Memory Addresses 16 12 8 4 0 -4 -8 -12 -16 Low Memory Addresses r1 = r2 = r3 = r7 = r1 = r2 = r3…
For the "square box" as shown, dimension "a" is 0.25 meter. What is the value of the "free space capacitance" for the box? 28 pF 3.1 uF 63 pF 19 pF
An iterator behaves in a manner that is similar to the way a pointer behaves. True False
2) (20 points) 2a) Given the C-like code, answer the questions below. Note: 256x16 Register File (with 1 read port and 1 write port) is used for A in the code. 2a.1) (5 pts) Determine minimum number of bits for totalsum such that NO overflow occurs (assume that all values in the register file A…
A ______ resembles a group of computers in which data flows in only one direction from one device to the next. hierarchical network star network bus network ring network
Question 4 Which of the following creates a data frame? import pandas as pd df = pd.DataFrame(data=['A'={10, 100}, 'Z'={20, 400}]) df = pd.DataFrame(data=['A': [10, 100], 'Z': [20, 400]]) df = pd.DataFrame(data={'A'= [10, 100], 'Z'= [20, 400] }) df = pd.DataFrame(data={'A': [10, 100], 'Z': [20,…
Abstract methods in Java: Have both method declaration and implementation. Have only method declaration without implementation. Are defined with the final keyword. Cannot be overridden.
Cloud computing allows users to: Perform time-sharing tasks on mainframes Use computing resources over the internet Install software on personal computers Access resources locally on their devices
Question 19 CLIs usually are easier to learn than GUIs. O True O False
Question 3 2 pts A trigger can be assigned to a(n) O schema O table O view O query Question 4 2 pts A trigger can be assigned to a(n) O database O login O None of these O schema
Let $\phi$ be the golden ratio. Let $T_n = \phi^{2n+1} - \frac{1}{\phi^{2n+1}}$ for $n = 0, 1, 2, \dots$. Derive a recurrence relation for $T_n$ and then apply it to find the value of $\phi^{13} - \frac{1}{\phi^{13}}$.
5. Simplify each expression using boolean identities a. A + 1 = b. A + 0 = c. A + A = d. A + A' = e. A+B+B = f. A+ (AB) = A(1+B)=A_ g. A*1 = h. A*0 = i. AA = j. AA' = k. (A+B)(A+B') =AA+AB'+AB=BB'=A+A(B+B') + BB' l. A XOR 0 = m. A XOR 1 = n. A XOR A = o. A XOR B XOR B = (A+1)(BB')=1(0) = 0
is an approach to I/O control in which I/O devices and main memory share the same address space. O Memory-mapped I/O O I/O channels O Interrupt-driven I/O O Programmed I/O
What is the primary benefit of the time-sharing computing model? Shared access to expensive resources Elimination of resource contention High performance for individual users Reduced system downtime
Which of the following statements about k-means clustering is NOT true? O Means represent the median values of the data points in each cluster. O The number of clusters ($k$) is required to be specified. O K-means is primarily used for unsupervised learning tasks. O The initial centroids are…
Question 21 As applied to FMSs, \_\_\_\_\_\_\_\_\_\_\_ describes methods of securing file content against hardware failure.
Question 25 When an item in the combo box is selected, the combo box executes its action event listener's actionPerformed method, passing: an ItemEvent object as an argument. an ActionEvent object as an argument. the combo box as an argument. a SelectionEvent object as an argument. 2 pts
Question 5 1 pts Which of the following is a major advantage of a multicycle implementation in computer architecture? It allows an instruction to be executed in a single clock cycle, reducing the number of temporary registers needed. It increases the number of ALUs and memory units to speed up…
What does the velocity aspect of Big Data refer to? The speed at which data is generated and processed The diversity of data types and sources The accuracy of data measurements The storage location of data
A network technician is checking the records to ensure all the host names match up with the proper IP addresses for the network. What records is the technician checking? (Select all that apply.) A. A B. MX C. FQDN D. AAAA
The process in which a variable hides another variable is known as _____. • shadowing O composition O overloading O packaging
int main() { srand(time(0)); vector<Card> deck; vector<Card> foundation; vector<vector<Card>> tableau(7); // Initialize deck and deal initial cards initializeDeck(deck); dealInitialCards(tableau, deck); while (true) { printLayout(tableau, foundation, deck); int choice; cout << "Choose an…
Convert the following TM to an unrestricted, computational grammar. Convert the following TM to an unrestricted, computational grammar.
Create a design in Logisim that meets the following requirements. 1. Five state Counter. You may use logic gates (AND, OR, etc.) and premade individual memory bits, not a premade block. 2. The circuit should cycle through 5 states, indicated by the current counter value. States correspond to:…
Question 15 Which statement is NOT correct? The VSAM structure: may use an overflow area for records. is used for very large files that need both direct access and batch processing. is appropriate for files that require few insertions or deletions. provides an exact physical address for each…
QUESTION 1 Convert this C++ program (and accompanying function) into x86 assembly language Make sure to use the proper best practices taught in Chapter 8 regarding parameter passing and local variables #include <iostream> using namespace std; // Use registers instead of variables listed…
A network technician is setting static IPv4 addresses on servers for a sandbox environment. Which settings would be considered optional for ensuring proper communications within a local area network? (Select all that apply.) A. The gateway B. The alternate DNS C. IP address D. Subnet mask
Step 2: Implement parseScores() (1 point) Implement the parseScores() function to take a space-separated string of scores as an argument and return an array of score strings. Each score is a number in the range [0, 100]. Ex: parseScores ("45 78 98 83 86 99 90 59") should return ["45", "78",…
1.5 Consider the excerpt from the output of a route command below: (ignore the metric, ref and use columns) (7) Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 List all the information you can determine…
Question 30 1 pts Primary elections deprived parties of a crucial political resource: the ability to control access to elective public office by controlling nominations. True False
Question 23 Each computer on the network is assigned an IP address for easy identification A True B False
When a program uses the try-catch statements for exception processing, if no exception occurs, then the code in the catch block executes exactly once. O True False
The main objective of inheritance in OOP is: Code Complexity Code Encapsulation Code Abstraction Code Reusability
The circuit below represents a BCD to 7 Segment LED Decoder/Driver. The BCD input variables: D MSB C B A LSB The output is a decimal number as displayed by the 7 segment LED Given the BCD input: D=0, C=1, B=0, A=0 You would expect to see the decimal number ______…
Which of the following information is typically NOT stored in a PCB? Process ID Program counter File descriptors Memory allocation information
What purpose does a data lake serve in a business intelligence environment? It is exclusively used for data visualization. It holds large volumes of raw, unstructured data for advanced analytics. It processes data in real-time for immediate insights. It stores structured data specifically for…
The advantages of using linked lists over arrays include O a. The maximum size does not need to be pre-determined, when using a linked list. Ob. It is easier to insert an item into the middle of a linked list than into the middle of an array. Oc. A linked list uses less memory than an array…
Question 15 Which of the following are considered basic list operations? (Select all that apply) Sort the list Search the list Insert an item in the list Print the list
About Fixenverleaks, LLC: Fixinverleaks. LLC is a residential service company that does Plumbing. They want you to design a database that tracks all jobs for their customers. A "Job" is a single service call to a customer to fix some sort of plumbing issue. Over the years, a customer can use…
Question 5 of 5 What type of connector does this RAID card require to connect to the motherboard? M.2 PCIe x16 SATA DIMM
1
...
5
6
7
8
9