• Home
  • Ask directory
  • AP CS
  • February 2025
  • 4

AP CS Q&A Archive of February 4, 2025

Select Question

February 4 of 2025

3. C++ Coldest/Hottest Day Programming Task Create a program that prompts the user to input daily temperatures for 7 days, representing Monday through Sunday. The program should then report the coldest and hottest day in the following format: Coldest Day: [coldestDay] with a temperature of…
1. Load the image 'souq\_rgb.png' in variable srgb and display in a 2x2 subplot the RGB image and each of the R, G, and B color planes on their own. Include a title for each image. 2. Swap the G and B color planes and save as a new variable called srbg. Display in figure 2 a new image with…
int sol [5]; // global solution "stack" ignore cell 0 void printsolution (void) { for(int i=1;i<5;i++) printf("%d", sol[i]); printf("\n"); } bool cellok (int n) { int i; // check for queens on other rows for(i=1;i<n;i++) if (sol[i] == sol [n]) return false; // check for queens on…
Create a program that prompts the user to input daily temperatures for 7 days, representing Monday through Sunday. The program should then report the coldest and hottest day in the following format: Coldest Day: [coldestDay] with a temperature of [coldestTemp] Hottest Day: [hottestDay] with a…
Question 28 4 pts In the MCIS Department at JSU, two subnetworks have been set up: Subnet A: 192.168.22.64/26 Subnet B: 192.168.22.128/26 The network administrator has connected several end-devices to these networks. A device is misconfigured. You are asked to identify this device. A…
Block 2 Part 6 sets out the following algorithm: Bubble sort 3 - the final bubble sort Set the flag to true Repeat until (flag is false) Set the flag to false Swapping pass Starting at the beginning of the list Repeat for (each pair of adjacent items in the unsorted portion) If the items are in…
The list `numbers` contains several items each of which is a number. The `when [space] key_pressed` script below should set a variable `sum` to all the items in `numbers` added together. So for example if `numbers` has the contents shown in the watcher below then `sum` should be set to 15 (i.e.…
1. Markov Decision Processes (5 points) For Thanksgiving, you are trying to prepare a turkey. To prepare the turkey, one can either decrease or increase the temperature of the oven, resulting in the turkey being undercooked, cooked, or burnt. The Markov Decision Process for this scenario is…
Multiperiod Production Smoothing Model The complete model is as follows: Minimize $z = 50(I_1 + I_2 + I_3) + 200(S_1^+ + S_2^+ + S_3^+ + S_4^+) + 400(S_1^- + S_2^- + S_3^- + S_4^-)$ subject to $10x_1 = 400 + I_1$ $I_1 + 10x_2 = 600 + I_2$ $I_2 + 10x_3 = 400 + I_3$ $I_3 + 10x_4 = 500$ $x_1 =…
The following algorithm takes two arrays A and B and four integers alo, aHi, bLo and bHi. Alg(A, B, alo, ahi, blo, bhi) if alo > aHi return 0 if alo == aHi return A[alo] if blo > bhi return 0 else if blo == bHi return B[blo] else aMid = (alo + aHi)/2 bMid = (blo + bHi)/2 return Alg(A, B, alo,…
(4) Build an activity diagram to describe the process of registering, making a view appointment, placing a contact for a tenant. Tips for the process: A tenant first needs to register and login into the system. Next, the system checks whether the account is authenticated. If it is not, the…
3. Consider the below access control matrix representation of a Role Based Access Control scheme. ROLES Manager Staff Accountant Owner Alex X Brianna X USERS Carl X X Diana X Evan X OBJECTS File 1 File 2 File 3 File…
Below is a basic sound inventory of Blackfoot, an Algonquian language of Southern Alberta. Compare this set with the basic sounds of English to answer the questions that follow.¹ [ p t k ? s ç x tʃ kʃ m n w j i o a ] a. List the sounds of Blackfoot that are not found in English. b. List any…
SIMULATION A security analyst is creating the first draft of a network diagram for the company's new customer-facing payment application that will be hosted by a third-party cloud service provider. INSTRUCTIONS Click the ? to select the appropriate icons to create a secure, redundant web…
Part A: Fuzzy Sets Question 1 $A(x) = \{(x_1, 0.15), (x_2, 0.27), (x_3, 0.47), (x_4, 0.57)\}$ $B(x) = \{(x_1, 0.35), (x_2, 0.48), (x_3, 0.58), (x_4, 0.69)\}$ A) Determine the scalar cardinality of these fuzzy sets and describe what does this scalar cardinality imply B) Find: $\bar{A}(x)$,…
Your friend is a crack circuit designer. She has offered to redesign one of the units in the single-cycle ARM processor to have half the delay. Using the delays from Table 1, which unit should she work on to obtain the greatest speedup of the overall processor, and what would the cycle time of…
(2 points) A shipping company uses the following function to calculate the cost of shipping $c$ based on the weight of the package $w$. $$ c = \begin{cases} 15, & \text{if } 0 < w \le 5 \\ 10 + 3w, & \text{if } 5 < w \le 20 \\ 75, & \text{if } 20 < w \end{cases} $$ Write a program that prompts…
2.1 3-State MDP Assume the following 3-state MDP with states A, B, and C, and actions α and β. We assume a continuing task with no terminal state. Assume further the agent acts on this MDP with a deterministic policy π: π(α|A) = π(α|B) = π(β|C) = 1. If γ = 0, the state value function for π is…
Instructions: Propose a database solution to the following case problems that are normalized with well-formed relations in 3NF. Case Problem #1: Parking Ticket Table St ID L Name F Name Phone No St Lic Lic No Ticket # Date Code Fine 38249 Brown Thomas 111-7804 FL BRY…
Question 8 of 15: What is CUI Basic? (Select the best answer) The subset of CUI requiring DOD personnel to submit and obtain information for entries into SF 86c The subset of CUI requiring DOD contractors to provide the information needed for the completion of DD Form 254 The subset of CUI for…
Match the relational database function to the appropriate relational database term: Relational Database Function 1. Serves as a unique identifier in a database table. 2. Creates a relationship between two tables. 3. Two foreign keys from the tables that it is linking combine to make up a unique…
Consider the following statement: $\exists$ a program $p$ such that $p$ is structured. Which of the following are equivalent ways of expressing this statement? 1. All programs are structured. 2. There is a program that is not structured. 3. Some programs are structured. 4. Some programs are not…
During the first year of life, babies grow very rapidly. Which of the following statements accurately describes their growth pattern? CLO3 Oa. Babies grow at a steady rate, reaching four times their birth weight by the end of the first year. Ob. Babies triple their birth weight by 4 to 6 months…
User PK UserID int Username String Email String Password String Join Community PK CommunityID int Name String Description String Activity PK ActivityID int FK UserID int FK CommunityID int type String Content String Timestamp datetime Music Anime PK MusicID String PK AnimeID int FK…
You're tasked with selecting an email provider. The team requests that your email activities: • Integrate with your existing toolkit • Include prebuilt workflows and templates • Align with spam and privacy laws • Offer affordable fees given the list size • Let users measure campaigns Which…
Question Goal: Learn to iterate over a file. Assignment: Given a file whose name is stored in the String variable fileName, write a code snippet that counts the number of words in this file. Store the result in the int variable wordCount (assume it's already been declared but not initialized),…
2. (30 points) Runtime Analysis How many times is function g() called in each code segment? Clearly explain your answer and express the bounds in terms of $n$ in big-O notation. (a) (15 points) Code Segment 1: j=0 i=0 while $i \leq n$ do $j = j+1$ $i = i+j$ g() end (b) (15 points) Code Segment…
1. Suppose G is a secure PRG with stretch $\ell$. Prove that the following function H is also a secure PRG: H(S): if S == $0^\lambda$: return $0^{\lambda + \ell}$ else: return G(S) Thus, it is possible for a PRG to be secure despite having a "weak" input. Hint: Use the bad event technique. 2.…
Problem 1: Consider the function $f(x) = x^3 - 2x + 4$ on the interval $[-2, -1]$ with $h = 0.50$. Use finite difference approximations to evaluate the first derivative of the function. Present the results from parts 1.1 through 1.3 in a table. The table should include the value of $x$, the…
Menu A - Append P - Prepend I - Insert After R - Remove After D - Display List V - Reverse List C - Count List Items Q - Quit Program :: a Appending List.... Enter a number for node data: 9 The list now has 1 item. Menu A - Append P - Prepend I - Insert After R - Remove After D - Display List V…
26. Let Q (x, y) be the statement "$x + y = x - y$". If the domain for both variables consists of all integers, what are the truth values? a) Q (1,1) b) Q (2,0) c) $\forall y Q(1, y)$ d) $\exists x Q(x, 2)$ e) $\exists x \exists y Q(x, y)$ f) $\forall x \exists y Q(x, y)$ g) $\exists y \forall…
4. Consider the following C++ program. Do not run it. #include <iostream> using namespace std; int main() { unsigned int x = 79; while (x <= 79) x--; cout << "x=" << x << endl; return 0; } Your friend Rufus argues that this program has an infinite loop, and will therefore never end. Is he right…
2. C++ ASCII Rectangle Programming Task Create a program that prompts the user to input the width and height of a rectangle. The program should then print an ascii rectangle, where the rectangle is made up of alternating asterisks * and hyphens -. Sample Input 1 7 4 Sample Output 1 * - * - * -…
Consider a database with the following tables: Customer Primary key: Cus_Code Foreign Key: Agent_Code Cust_Code Cus_Lname Cus_Zip Agent_Code 1132445 Walker 32145 231 1217782 Adares 32145 125 1312243 Rakowski 34129 267 1321242 Rodriguez 27134 125 1542311 Smithson 37134 421 1657399 Vanloo 32145…
1. Write a program to create a 5 * 10 2D array and fill 0 to 49 to cells column by column, as shown below: 0 5 10 15 20 25 30 35 40 45 1 6 11 16 21 26 31 36 41 46 2 7 12 17 22 27 32 37 42 47 3 8 13 18 23 28 33 38 43 48 4 9 14 19 24 29 34 39 44 49
1. [10 points] Consider running the Perceptron algorithm on a training set $S$ arranged in a certain order. Now suppose we run it with the same initial weights and on the same training set but in a different order, $S'$. Does Perceptron make the same number of mistakes? Does it end up with the…
The National Institute of Standards and Technology (NIST) has three IT security control categories. The following are controls in one of the categories: • Personnel and user issues • Contingency and disaster planning • Incident response and handling • Awareness, training, and education •…
What is underfitting? Multiple Choice when a machine learning model matches the training data so closely that the model fails to make correct predictions on new data when a machine learning model has poor predictive abilities because it did not learn the complexity in the training data occurs…
Example: The following are three random samples of carat values from the diamonds dataset. samples 8 rows Sample_One Sample_Two Sample_Three <dbl> <dbl> <dbl> 0.41 2.68 1.05 1.01 1.01 0.31 1.22 0.26 0.31 1.02 0.90 0.30 0.30 0.43 0.40 0.30 0.53 1.50 1.00 2.00 2.27 1.17 0.33 5.00 1. Use the code…
Example: plaintext ciphertext • Suppose eff. adv. A can always deduce lsb(m) from E(k,m) => the cipher (E,D) is not semantically secure Challenger $m_0$ s.t. lsb($m_0$) = 0 $m_1$ s.t. lsb($m_1$) = 1 Adversary B (us) $k \leftarrow_R \mathcal{K}$ $c \leftarrow E(k, m_b)$ c $b \leftarrow_R \{0,…
Question 3 (2 pt) Calculate the sum and the product of the following two numbers, by applying the algorithms for floating-point addition and multiplication. Show all intermediate steps, as presented in class. Give the results as hexadecimal numbers. A = 0x40200000 (base 16, IEEE-754…
class Person ( Q_PROPERTY (QString name READ getName WRITE setName) public: Person(); Person (QString name); QString toString() const; private: QString name; }; class Employee { public: Employee(); Employee (QString name); QString toString() const; }; 3.1 We require the two classes above to…
Categorization 1 point Based on the diagram in Figure 2, determine whether the device would benefit from dynamic routing. Would benefit from dynamic routing No Answers Chosen Possible answers Router R2 Router R4 Host H3 Host H1 Would not likely benefit from dynamic routing No Answers Chosen
In mathematics, the Nth harmonic number is defined to be $1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + ... + \frac{1}{N}$. So, the first harmonic number is 1, the second is 1.5, the third is 1.83333... and so on. Write an expression whose value is the 8th harmonic number. (for this problem,…
Question Goal: Learn to declare PrintWriter objects. Assignment: In a logging system for an e-commerce application, given an initialized String variable logFile, write a statement that declares a PrintWriter reference variable named logWriter and initializes it to a reference to a newly created…
1- (1.5 points) Write a program that calculates the following formula and displays its result. Note: You cannot pre-calculate any parts of the formula, meaning that the full formula needs to be coded. $$ \frac{2 \times (3 \times 12) - 5}{22 - 4 \times 3} $$
Question 2: Hexadecimal Representation Which of the following is true about hexadecimal representation? Hexadecimal is a base 60 representation Hexadecimal uses fewer digits than binary for numbers greater than 15 Hexadecimal uses more digits than decimal for numbers greater than 15 The…
Assume that $T(n) = 2T(\sqrt{n}) + \log_2 n$. If counter = $\Theta(n^k (\log n)^c (\log \log n)^r)$, what is $c + k + r$ rounded to the nearest hundredth? (If the Master Theorem cannot be used on this recurrence, use the answer -1.) HINT: After staring blankly at the question for approximately…
Grid Class We will use the simple CS106A Grid utility class to store the 2-d data Reference Using the Grid looks like this grid = Grid(3, 2) grid.set(0, 0, 'hi') val = grid.get(0, 0) if grid.in_bounds(4, 5): # make 3 by 2 grid, initially # set a value at 0,0 # get a value out at 0,0 # is 4,5 in…
Antonella wants to send a private email to her friend Margaret. To ensure the privacy of the email, she uses GnuPG (GNU Privacy Guard) to create a key. She then sends the email to Margaret, and later sends the key to her. What type of encryption is Antonella using in this scenario? O symmetric…
Q6 From "A Mulching Proposal" 1 Point Which of the following is the main takeaway of this paper? All algorithms that are FAT are also ethical. The elderly with low social credit scores should be at risk of mulching. An algorithm can be FAT but unethical. As long as there is an option for…
Jump to level 1 numList: 67 10 50 allocationSize: 4 length: 3 numList.search(10) executes. How many elements in numList will be compared with 10? What is returned? Next, numList.removeAt(0) executes. numList.search(10) executes again. How many elements in numList will be compared with 10? What…
3. Given the function: $F(x, y, z) = x\bar{y}z + x\bar{y}\bar{z} + xyz$ a. List the truth table for F. b. Draw the logic circuit using the original Boolean expression c. Simplify the expression using Boolean algebra and identities. d. List the truth table for your answer in Part c. e. Draw the…
Which of the following statements about AI is/are correct? Select one: A. AI algorithms can exhibit biases based on the data they're trained on B. AI applications are expected to replace all the jobs traditionally performed by Office Professionals C. Chatbots like ChatGPT can be considered…
1. Consider the access control matrix given below. File 1 File 2 Process 1 Disk 1 Alex Read Read Wakeup Own Write Write Seek Brianna Read Execute Seek Write Carl Read Own Execute Seek Read Stop Write Diana Own Read Stop Read Write Represent the above access control scheme using: a. (5…
Rewrite the Excel formula, = F2 * E5 - H4, after it has been moved as specified below. a. down 3 cells b. right 4 cells (starting with formula = F2 * E5 - H4) c. up 1 cell (starting with formula = F2 * E5 - H4) d. left 1 cell (starting with formula = F2 * E5 - H4)
How can you confirm that voting buttons have been added in your email message? Voting buttons get inserted in the form of an attachment. A note appears at the bottom of the email stating that voting buttons are added to the message. A note appears at the top of the email stating that voting…
The National Institute of Standards and Technology (NIST) has three IT security control categories. The following are controls in one of the categories: Security policy Security program management Risk management Security and planning the computer system life cycle Assurance The above controls…
4. Using the following grammar: $\langle S \rangle \rightarrow \langle A \rangle a \langle B \rangle b$ $\langle A \rangle \rightarrow \langle A \rangle b | b$ $\langle B \rangle \rightarrow a \langle B \rangle | a$ Which of the following sentences are legal in the language generated by this…
Question 2 Let us consider the following two fuzzy sets in the same discrete universe of discourse: $A(x) = \{(x_1, 0.2), (x_2, 0.25), (x_3, 0.3), (x_4, 0.35), (x_5, 0.4)\}$ $B(x) = \{(x_1, 0.3), (x_2, 0.32), (x_3, 0.4), (x_4, 0.45), (x_5, 0.5)\}$ Determine inaccuracy of the fuzzy set B(x) with…
Let T(n) denote the asymptotic run time of this function. int B(int n) { if (n == 0) return 1; if (B(n/2) >= 10) return B(n/2) + 10; else return 10; } As n increases, which of hthe following is true? a. $T(n) \in \Theta(n^2)$ b. $T(n) \in \Theta(n)$ c. $T(n) \in \Theta(n \log(n))$ d. $T(n) \in…
Which of the following describes a cloud hosting feature? Select one: Cloud-hosting offers a high degree of transparency on data backup and security. Organizations that hire cloud services run the risk of investing in technology that may become obsolete. Even the most reputable organizations do…
For this Assignment you will write a 1-2 paper/report. You must explain to me the difference (in as much detail as possible) between the four devices listed below. Remember, you are college students and I do expect college level reports. You will loose point for poor report…
What distinguishes intrusion prevention systems (IPS) from intrusion detection systems (IDS)? IDS focuses on monitoring network-wide traffic patterns, whereas IPS inspects packet payloads. IPS requires less configuration than IDS to avoid false positives. IPS provides real-time blocking of…
Select the complex reflection that best emphasizes the client's interest in change. I eat a lot of snacks during the day. Then, I'm already pretty full when it's time for dinner. Snacks have become part of your routine. When you snack, you don't eat dinner. You're worried that snacking might…
An expert system is a form of artificial intelligence in which a program draws on the rules an expert in a given field has laid out to arrive at a solution for a problem. Select one: O True O False
Q5. For each of the following indicate if f = O(g) or f = $\Theta$(g) or f = $\Omega$(g). (10points) (1). f(n) = n$^4$/log(n) g(n) = n(log(n))$^4$ (2). f(n) = n*log(n) g(n) = n$^2$log(n$^2$) (3). f(n) = log(n) g(n) = log(log(5$^n$)) (4). f(n) = n$^{1/3}$ g(n) =…
Question 1: ASCII Facts Which of the following is not true about ASCII? ASCII is a floating point representation Upper and lower case letters have different ASCII codes ASCII includes codes for punctuation symbols ?!:;., ASCII uses 16 bits to encode characters Bold and italics have different…
When $K = \overline{K}$ and $L = \overline{L}$, then output is determined by the total amount of labor in an economy. the total amount of capital in an economy. the total amount of capital and labor available in an economy. a percentage of capital and labor in an economy. Not enough information…
Q5. [5 pts] Suppose one packet is transmitted from a source to a destination via a path of N links each with a rate of R. Then, the end to end transmission delay is NL/R. What is the transmission delay time for P packets if the source and destination are connected via M routers?
What is the logic function $f(a, b, c)$? (Note: $b$ represents the MSB (most significant bit) and $a$ represents the LSB (least significant bit) of the control bits) $f = ab' + c$ $f = a'c$ $f = b'c$ $f = abc$ 0 1 4-1 mux 2 3 c 0 1 a b f
[6pt] Write a MATLAB program that include: • A function file named myFunction.m that contains the function myFunction(x), which evaluates $f(x) = x^2 - 4x + 6$ • In the main, use this function to compute $f(x)$ for $x = 1, 2, 3, 4, 5$. • Print the values of $f(x)$ for each $x$.
Which of the following accurately describes preemptive multitasking? The OS waits for an application to release control of the processor The OS allocates resources to applications but remains in full control The user controls which application uses the CPU and when The CPU lets each application…
Question B5: Provide a logical argument showing that the premises: P1: $\forall x \forall y (E(y) \land H(x) \to R(x,y))$ P2: $\forall x (W(x) \to H(x))$ P3: $r \to W(grass)$ P4: $E(Homer)$ can be used to reach the conclusion: $r \to R(grass, Homer)$. State which rule of inference you use at…
Which is the easiest method of making changes to a contact card? Select one: Contact tab, Actions group, Update Create a new contact card with the new information. Double-click on the contact in the list and change the desired information. Click on the contact in the list and change the desired…
Programming Task Create a program that prompts the user to input the width and height of a rectangle. The program should then print an ascii rectangle, where the rectangle is made up of alternating asterisks * and hyphens -. Sample Input 1 7 4 Sample Output…
What role does an Intrusion Detection System (IDS) play in conjunction with port mirroring? It compresses mirrored data to save storage space. It encrypts all mirrored traffic for security. It acts as a firewall to block unauthorized access. It analyzes the mirrored traffic for anomalies and…
• Write a static method $\text{NumberAboveAverage}$ to count the number of elements above the average for the given int array • Inside main method, create an int array of size 20, initialize the elements with some random numbers between 1 to 100, and then call the method and display the result
3. Suppose a Fourier series is needed for a function defined in the interval $0 < x < 2a$. Show how to construct a periodic extension with period $2a$ and give formulas for the Fourier coefficients which use only integrals from 0 to $2a$. (Hint: see Exercise 5, Section 1.)
8. (10 points) If the decimal integer values from 0 to 15 are to be transmitted in binary. a. How many lines will be needed if parallel representation is used? b. How many lines will be needed if serial representation is used? c. Draw a sketch of each of these configurations.
What is a key advantage of using a Host-based Intrusion Prevention System (HIPS)? It can monitor and block threats at the network perimeter. It provides real-time protection by blocking suspicious activities on individual devices. It operates without affecting the performance of the host…
A field service technician is replacing a server motherboard that supports CPUs with multithreading capabilities. The technician notices the motherboard has four processor sockets. If each socket supports a quad-core processor, how many logical processors does the system appear to have? a)…
Read the following expression, then choose the correct answer: A simple sentence is one independent clause with no subordinate clauses. Which part of the expression above is an independent clause? With no subordinate clauses. A simple sentence. A simple sentence is one independent clause. A…
4. Use the directed graph below to answer the following questions. Oregon Alaska Texas Hawaii Vermont New York California a. To which states does Texas have a path? b. To which states does Vermont have a path? c. Which states do not have a path to any other states?
Question 1 1 pts AND(condition 1, condition 2...) is a logical function that returns TRUE if all conditions are true and FALSE if not. True False
Oscar traveled to Sydney, Australia to attend a work conference and just traveled with his tablet. When he needed to show potential clients the presentation from his company, he logged on and downloaded the file from the company's account tablet based storage international storage roving…
What role does the 'hub' play in FÖN's cloud service provisioning model? It serves as the primary cloud infrastructure partner It facilitates integration between different cloud providers It enables FÖN to offer managed services to clients It acts as a central point for client engagement and…
[6pt] Write a MATLAB script that: • Creates a 3 × 3 matrix A where $A(i, j) = i + j$. • Computes the matrix product $C = A \cdot A'$ (where $A'$ is the adjoint/transpose of A). • Prints the matrix A, and the resulting matrix C.
A(n) ______ is a gathering of 6 to 10 people carefully selected by researchers based on certain demographic, psychographic, or other considerations and brought together to discuss various topics of interest at length. O target group O pilot group O focus group O customer base O ethnographic…
Multiple Choice 4 points Read the code snippet below. then choose the type of logical code structure this snippet represents from the list below. if number > 5: newNumber = number * 0.2 else: newNumber = number * 1.5 Recursion Selection Function Sequence Error handling Nesting Iteration Method
Let P, Q and R be simplest statements. In using the truth table for determining whether the following statement is a tautology, contradiction or contingent statement, how many rows and columns must be provided? $(Q \land P \implies R) \implies Q \land R$ a. Any number of rows and columns b. 8…
Question 30 What are some recent technological advancements that would provide new opportunities for entrepreneurs? Virtual technology, the internet, cell phones, Excel Drones, AR/VR, machine learning, MS Office Network bandwidth enhancement, telehealth, cell phones, fitness apps Drones,…
In computer networking, carrier sensing refers to Monitoring the medium to detect whether another station is transmitting data Monitoring network carriers (eg AT&T, Comcast etc) to ensure quality of service Sensing the network load of the network carriers (eg AT&T, Comcast etc) None of the…
The following algorithm finds the largest value in an array of n > 0 integers. The array is assumed to have indices from 0 to n - 1. To within a constant factor, how much time does the algorithm take? maxval(A, n) m = A[0] for k = 1, 2, ..., n - 1 if(m < A[k]) m = A[k] return…
6. (20 Points) Write a code that reads the input file input.txt, prints its lines with even numbers of characters, and writes the numbers of lower-case English letters of each line into a file named output.txt. Example: input.txt: AbC33 bBc2 Print: bBc2 output.txt: 1 2
Indicate which one of the following reactions results in a negative $\Delta S_{sys}$. a. $H_2O(g) \rightleftharpoons H_2O(s)$ b. $CaCO_3(s) \rightleftharpoons CaO(s) + CO_2(g)$ c. $CuSO_4(H_2O)_5(s) \rightleftharpoons CuSO_4(s) + 5H_2O(g)$ d. $14O_2(g) + 3NH_4NO_3(s) + C_{10}H_{22}(l)…
Identify pro/con of analysis techniques Blacklisting ✓ [Choose] Cannot catch new attack types Sometimes it is difficult to define what is normal Whitelisting Catches known bad and unknown bad Does not work well with small datasets Computationally expensive Long tail analysis [Choose] Anomaly…
Which data type would most appropriately be used to represent the following data values? a. The number of months in a year b. The area of a circle c. The current minimum wage d. The approximate age of the universe (12,000,000,000 years) e. Your name
CPU Register file PC ALU System bus Memory bus Bus interface I/O bridge Main memory "hello, world\n" hello code I/O bus USB controller Graphics adapter Disk controller Expansion slots for other devices such as network adapters Mouse Keyboard Display Disk hello executable stored on disk
Question 4 In designing screen views, spaces/fields where symbols, acronyms, and abbreviations are entered should be accompanied by: a. CMS approval b. easily available definitions of all symbols, acronyms, and abbreviations c. Joint Commission approval d. a warning not to use symbols,…
Question 1 Which of the following is a disadvantage of Cloud Computing? Cloud computing depends on an Internet connection. With cloud computing, there is no need for local data storage. With cloud computing, there is no need to download applications. Cloud computing enables collaborative work.
Question 24 4 pts In a subnet, a host has been assigned the following configuration parameters: 172.17.2.187/29. Which of the following are usable IP addresses for the network that this host is a part of? Select two…
Prove (or disprove) the following by showing calculations for the conversions: a) $124_{10} = 7C_{16}$ b) $578_8 = 101111_2$ c) $FF_{16} = 377_8$ d) $101010101_2 = 85_{10}$ e) $99_{10} = 143_8$
A large institution, such as a bank, may have thousands of transactions to process in which no user interaction is required; which type of computer system are you most likely to use? O mainframe O real-time system O Windows PC O high-end workstation
Exercise 5: 1. Design a flowchart for a program that finds the highest test grade from 20 entries. 2. Design a flowchart for a program that finds the lowest test grade from 20 entries. 3. What are the main differences between both flowcharts?
Home / My Home / 2025 Spring CM 1011 for Ge 2025 Spring CM 1011 for Gerrad Question 6 Not yet answered Points out of 1.00 Flag question The post-construction stage is the cleanup stage. Select one: True False Time left 0:00:42
What is the role of an API in the context of a jump box and automation? To manually monitor network traffic To serve as an interface for automated scripting To act as a physical firewall To reduce the need for secure connections
2. Determine the truth table for a circuit called MUX2. MUX2 has three bits of input S, $y_0$, $y_1$ and one bit of output F. If S = 0, then F = $y_0$; else if S = 1, then F = $y_1$.
Question 1 (1 point) def add_num (num_1 = 10): print(num_1 + num_1) Choose the correct output of calling the function above using the code: add_num() 10 20 an Error 0
Assume that $T(n) = T(n/2) + T(n/4) + T(n/8) + n$. If $T(n) = \Theta(n^k (\log n)^c)$, what is $c + k$ rounded to the nearest hundredth? (If the Master Theorem cannot be used on this recurrence, use the answer -1.)
Q6 From Tidy Data 1 Point Which of the following are true of a tidy dataset? Select all that apply. Variables are stored in rows and columns. Every variable has its own separate column. Column headers are variable names, not values.
Question 5 Logical and psychological slippery slope arguments are primarily designed to show: Moral equivalence between two courses of action Undesirable consequences will occur from a decision Logical equivalence between two courses of action Desirable consequences will occur from a decision
Which of the following best describes the role of hashing techniques in File Integrity Monitoring? Creating unique identifiers for files to detect changes Encrypting files to protect data privacy Enhancing file transfer speeds over networks Compressing file sizes for storage efficiency
8. (10 points each) Use the recurrence tree method to solve the following recurrence relation. Make sure to include a tree diagram and show all steps in your answer. (a) $T(n) = 2T(n-1) + 2^n$, $T(1) = 1$ (b) $T(n) = 2T(n-1) + 1$, $T(1) = 1$ (c) $T(n) = 2T(n/2) + n^4$, $T(1) = 1$.
With \_\_\_\_\_\_\_\_ clustering, each point starts off as its own cluster. The two closest points are then clustered into one, then the next two closest, and so on, until a set number of clusters are generated. k-means heuristic hierarchical perceptron
All of the following are advantages of using broadcasting to send data, except It can be used for networks of any size It is simple It is inexpensive It does not require any controllers to regulate who can transmit data
Which statement about encryption is true? Encryption is the same as deidentification Data lost prevention tools serve the same purpose as encryption Expense of encryption does not justify its use Poorly implemented encryption can be worse than no encryption
an example of the proper use of the Python input() function is answer = INPUT ("enter your answer: ") answer = input("enter your answer: ") answer = INPUT (enter your answer: ) answer = input (enter your answer: )
Q2: True/False: The good thing about ratios is that they can be used to compare all companies to each other, regardless of which industry they are in.
• Write a program to create a 2D array of size 10 * 10, • then initialize the elements with random numbers between 20 to 120 • Then display the array, the largest number, and the smallest number
When assessing risk in an IT environment, which methodology identifies flaws or weaknesses that can be triggered or exploited, which might result in a breach? A. System characterization B. Impact analysis C. Vulnerability identification D. Control recommendations
How does Network Access Control (NAC) contribute to reducing security risks in an organization? By enforcing security policies and restricting unauthorized access By conducting vulnerability assessments By encrypting sensitive data at rest By providing real-time antivirus protection
What are digital certificates primarily used for? O encrypting sensitive data transmitted over the Internet O authenticating user identity during online transactions O signing digital documents O certifying and securing web servers where sensitive information is exchanged
Question 2 Which one is a property of early email messages that used in the 1980s? Limited emojis were available It was slower than regular mail They were limited to 140 characters Short and contained only text
The addition of a software package on top of a cloud storage volume makes most cloud storage offerings conform to a \_\_\_\_\_\_\_ as a Service model. a. Software b. Platform c. Analytics d. None of the above
Practice Question 2 of 3 Which statement is an accurate description of software? A computer that receives input from users A powerful centralized computing system The encoded programs that control how computers function Attempt 1 of 3
RPA is an event-based method that does not require human interaction to run; the trigger is typically time based so that it runs according to a predetermined schedule. O Hybrid O Unattended O Virtual O Attended
Why are all models imperfect? Computers do not have enough memory for perfect models Data modeling is hard Models are simplified representations of an object of interest This statement is incorrect - some models are perfect
Which of the following is the best example of a mutator? public Queue() public T peek() public String toString() public boolean offEnd() public void pop()
What is the purpose of the scp command in SSH? To securely copy files between hosts To list files in the remote directory To change the SSH server's configuration To generate a new SSH key pair
What does it mean to "codify" criminal law? Owritten definitions of crimes and punishment enacted by legislatures and published Oto make it constitutional Oto convert it to computer code Oto write it into all languages
When a computing environment requires that some processing of applications takes place on a server and on a PC-class computer, which type of system are you using? multiuser system real-time system mainframe system client/server system
The purpose of a database is to __________. A. simplify the use of the cloud B. keep track of things that share a single theme C. be able to implement low-code development D. eliminate the need to learn about spreadsheets E. keep track of things that involve multiple themes
What type of data does a network flow provide? Statistics on packets traversing interfaces Detailed application code logs IP addresses of blocked websites User login credentials
2.7 Use the HOUR function in cell D12 to calculate the "Hour" portion of the "Entry Swipe" found in cell C12. Copy and paste the function down to complete the "Hour" column of the table.
Let $f(n) = 2n^3 + \lg n$ $f(n)$ is: (choose all that applies) $o(n^2)$ (Small – oh of $n^2$) $\omega(n^2)$ (Small - omega of $n^2$) $\Theta(n^2)$ (Theta of $n^2$) $o(n^{3.01})$ (small – oh of $n^{3.01}$)
Question 2 Of the following choices which statements are correct [A] [B] = [B] [A] [A] - [B] = [B] - [A] ([A][B])<sup>T</sup> = [B]<sup>T</sup> [A]<sup>T</sup> [A] {b} = {b}<sup>T</sup> [A] ([A][B])<sup>-1</sup> = [B]<sup>-1</sup> [A]<sup>-1</sup>
Question 4 Logical Operations What is the output of this R code? x <- TRUE y <- FALSE result <- x & y print(result) O Error O NA O FALSE O TRUE 1 pts
Echo is not a useful error detection techniques in computer networking because Errors may cancel out during the echo It is complex to use It is difficult to implement It is time consuming
What is the primary purpose of File Integrity Monitoring (FIM) in cybersecurity? Backing up critical system files Enhancing system performance Continuously monitoring file systems for unauthorized changes Ensuring compliance with all software licenses
5 6 8 9 11 12 14 15 17 18 Ethical issues a) are always clearly defined. b) seldom involve legal issues. c) often resolve themselves. d) are questions of right and wrong.
Evaluate the integral. (Remember to use absolute values where appropriate. Use C for the constant of integration.) $\int \sqrt{x^2 + 6x} dx$ $(x+3)\sqrt{x^2+6x} - \frac{9}{2} \ln \left| \frac{x+3 + \sqrt{x^2+6x}}{3} \right| + C$
Which operating system, usually distributed for free, relies on open source software that is developed by volunteers and contains code in the public domain? Windows Server 2012/R2 Linux Windows 10 Mac OS X
Some say the fact that most GPT's internal processes happen in a "black box" and are hidden from users violates the principle of \_\_\_\_\_\_\_\_\_\_. information security free use transparency the first amendment
Mach SIEM components and their functions Log broker Log aggregator Log collector Alert engine ✓ [Choose ] Generate alerts Log enrichment Agents Manage peak loads Cloud based tools [Choose ] [Choose ]
What is the function of the transport layer in Syslog? Managing the transportation of Syslog messages across the network Storing Syslog messages Handling message generation and routing Assigning facility codes to messages
What techniques do Endpoint Detection and Response (EDR) systems use to detect malicious activities on endpoints? Only heuristic analysis Only behavioral analysis Signature-based detection, heuristic analysis, and behavioral analysis Only signature-based detection
Identify if the following statement is True or False: Al is moving at a faster pace than Moore's Law. O True O False
The data link layer is unique because it can be divided into sublayers. What are those sublayers? Choose all that apply. MAC sublayer LLC (logical link control) sublayer IP sublayer Ethernet sublayer
Question 2 (2 pt) Convert the following numbers, showing all intermediate steps. (a) (1 pt) 0xc1910000 (IEEE-754 single-precision) to decimal (b) (1 pt) $1.011 \times 2^{-129}$ (base 2) in IEEE-754 single-precision
Search query Search word Question 29 of 40 Final Assessment Where does the domain name of a website primarily sit? In the URL In the coding of your header image In your navigation menu In your logo's hyperlink Question 30 of 40 Final Assessment
An IT infrastructure audit ______ is the system in a known good state, with the applied minimum controls relative to the accepted risk. A. scope B. objective C. framework D. baseline
If a runtime $T(n)$ that is both $O(n^3)$ and $\Omega(n^2)$, then $T(n)$ must be a part of which of the following runtime classes? â—‹ $O(n^2)$ â—‹ $\Theta(n^2)$ â—‹ $\Omega(n)$ â—‹ $\Theta(n^3)$
Which of the following are true about variable names in Python? They cannot begin with a number. Spaces are not allowed. They can include underscores All of these are true
Blank 1 is a button, link, or message that prompts users to take a specific action, such as "Buy Now," "Sign Up," or "Get Started." Blank 1 Add your answer
What options would you have if you were choosing a motor for the same application, but in an environment that requires an explosion-proof housing? Take the same factors into account.
Question 3 All well-designed forms should have the same basic components including: a. a heading describing content and purpose of the form b. instructions on how to complete the form c. space to enter required information d. all of the above
Grade Comparison Calculator Your Name Student average: 95 Calculate Class average: 85 Clear Difference: +10 Class comparison: Above Average Grade: A
According to the Cloud Provisioning Trilemma, what dimension involves ensuring that interdependencies among various cloud-based services are operational and deliver value? O Control O Coordination O Convenience O Compliance
Which of the following is a method for storing data over multiple file servers? A distributed file system A data warehouse An enterprise resource planning system A relational database
The memory map of a 8 kB memory chip begins at the location E000H. The last location of the memory address. O EFOOH O E000H O FOOOH O FFFFH
What defines the maximum payload size that a layer 2 frame can encapsulate? FCS (frame check sequence) JFU (jumbo frame unit) MTU (maximum transmission unit) FTU (frame transmission unit)
The service Freedrive is a storage that allows \_\_\_\_\_\_ users to view the contents of the others. a. Facebook b. Twitter c. WhatsApp d. None of the above
2. Write an example of using multiple relational operators: 1. Python example without Boolean operators 2. Python example with Boolean operators 3. Comparable Java example using Boolean operators
The advantage of memory mapped i/o over i/o mapped i/o is ________ Require a bigger address decoder Many instructions supporting memory mapped i/o All of the above Faster
The process whereby human researchers train computer algorithms to identify important concepts based on their own expertise and objectives is called [Select]. Why is human oversight important? [Select]
(1.5 points) Assume that a runner runs 20 miles in 1 hour and 30 minutes. Write a code that displays the average speed of this runner in kilometers per hour. Note: 1 mile is equal to 1.6 kilometers.
Which of the following is a job typically performed by the kernel? managing CPU interactions handling input from the keyboard handling output to the monitor enabling multimedia
What is the primary function of DNS in a network? Translating domain names to IP addresses Filtering network traffic Assigning IP addresses to devices Managing network security
Which among the following happens during pickling? a. list converted to dataframe b. convert dataframe to list c. convert bytes to object d. convert object to bytes
Question 9 2 pts In the order of operations for Excel (Order of Precedence), which operators (arithmetic or relational) have the lower order of precedence: Arithmetic Relational
18. Which of the following has direct supervision over ball holders? A. The home team's coach. B. The away team's coach. C. The officials. D. Game management.
Which one of the following methods of allocating joint costs uses a measure of weight, size or number of units to allocate joint costs to joint products?
Which is NOT a characteristic of Buddy Holly: 1st to use the Fender Stratocaster bitter divorce cut short career pioneered 4-piece combo produced his own music
What are the projections of the point (-3, -7, -1) on the coordinate planes? On the xy-plane: ( On the yz-plane: ( On the xz-plane: (
Which is a correct example of concatenation? print(concatenation) print(first_name) first_name = "John" + last_name = "Doe" print("My name is" + first_name + " " + last_name)
Which option lets you search for specific items in the Calendar, Notes, and Tasks in the Search bar? Current Folder Current Mailbox All Outlook Items Subfolders
SkyDrive relies on ____ users to launch new products. a. HP b. Apple c. Microsoft d. Linux
What does a stateless firewall inspect in a packet? Both source and destination IP addresses Physical layer information Only the destination port The entire packet payload
Simply put, the \_\_\_\_\_\_ is the Internet - more specifically, it's all of the things you can access remotely over the Internet. Select one: a. search engine b. cloud c. email client d. web browser
Which of the following best describes File Explorer? the end of a file name that determines the file type program that controls the computer settings program that allows access and management of files and folders
In a histogram, what is usually represented on the y-axis? Individual data points values Data categories Time duration Frequencies (or count), sometimes could be relative frequency
Question 2 Data Types in R What is the output of the following R code? a <- 15 class(a) "numeric" "integer" "double" "character" 1 pts
Question 1 A word processor is best described as which type of operating system element? application programming interface resource manager application software basic input/output system
Which of the following is one of the disadvantages of conventional flat files? Requires more sophisticated hardware and software Harder to store large amounts of data Difficult to search and retrieve data Data redundancy
In terms of security, data exists generally in three states. In what state is data being moved? at rest in use in stasis in transit
COSO stands for _______________. A. Committee of Sponsoring Organizations B. Common Objective Security Organizations C. Common Ongoing Security Organizations D. Committee of Security Organizations
Question 4 One major concern of cloud computing is O does not work on MACs and PCs O security of data O too expensive
What are some ways to increase efficiency when reusing these or other functions in a number of programs Edit View Insert Format Tools Table
Question 5 The word "cloud" in cloud computing represents what? Google the Internet the number of people on-line the computer you are working on
Sender Receiver Seq# 15 Data <20 bytes> b1? Data <23 bytes> b2? Data <8 bytes> Timeout retransmission b5? Data <b6?> Ack# b3? b4? b7?
What is the value stored in num after the following code segment executes? value = 72 div = 10 num = value / div
systems are used in time-critical environments where reliability is key and data must be processed within a strict time limit. Embedded Hybrid Interactive Real-time
What command can be used to display the last five lines of a text file? stop -5 head -5 end -5 tail -5
Besides IP, what other protocol plays a significant role on both IPv4 and IPv6 networks? O ARP O NDP O TTL O ICMP
1 Multiply the following two binary numbers $x$ and $y$ using "grade school" binary multiplication (see notes). $x = 10111_2$ $y = 110101_2$ digit 1 1 1 1 0 1 0 1
Which of the following is not considered a protocol? Select one: XML Hypertext Transport SMTP, or Simple Mail Transfer IP Clear my choice
In public relations, best practices refer to documenting and analyzing the behavior of a leader in the field. O True O False
are massive networks of computer servers running software to coordinate their collective use. a. SaaS b. Server farms c. Supercomputing d. None
Question 4 (1 point) Which architect is quoted as saying "form follows function?" Frank Lloyd Wright Frank Gehry le Corbusier Louis Sullivan
3. C++ Coldest/Hottest Day Programming Task Create a program that prompts the user to input daily temperatures for 7 days, representing Monday through Sunday. The program should then report the coldest and hottest day in the following format: Coldest Day: [coldestDay] with a temperature of…
1. Load the image 'souq\_rgb.png' in variable srgb and display in a 2x2 subplot the RGB image and each of the R, G, and B color planes on their own. Include a title for each image. 2. Swap the G and B color planes and save as a new variable called srbg. Display in figure 2 a new image with…
int sol [5]; // global solution "stack" ignore cell 0 void printsolution (void) { for(int i=1;i<5;i++) printf("%d", sol[i]); printf("\n"); } bool cellok (int n) { int i; // check for queens on other rows for(i=1;i<n;i++) if (sol[i] == sol [n]) return false; // check for queens on…
Create a program that prompts the user to input daily temperatures for 7 days, representing Monday through Sunday. The program should then report the coldest and hottest day in the following format: Coldest Day: [coldestDay] with a temperature of [coldestTemp] Hottest Day: [hottestDay] with a…
Question 28 4 pts In the MCIS Department at JSU, two subnetworks have been set up: Subnet A: 192.168.22.64/26 Subnet B: 192.168.22.128/26 The network administrator has connected several end-devices to these networks. A device is misconfigured. You are asked to identify this device. A…
Block 2 Part 6 sets out the following algorithm: Bubble sort 3 - the final bubble sort Set the flag to true Repeat until (flag is false) Set the flag to false Swapping pass Starting at the beginning of the list Repeat for (each pair of adjacent items in the unsorted portion) If the items are in…
The list `numbers` contains several items each of which is a number. The `when [space] key_pressed` script below should set a variable `sum` to all the items in `numbers` added together. So for example if `numbers` has the contents shown in the watcher below then `sum` should be set to 15 (i.e.…
1. Markov Decision Processes (5 points) For Thanksgiving, you are trying to prepare a turkey. To prepare the turkey, one can either decrease or increase the temperature of the oven, resulting in the turkey being undercooked, cooked, or burnt. The Markov Decision Process for this scenario is…
Multiperiod Production Smoothing Model The complete model is as follows: Minimize $z = 50(I_1 + I_2 + I_3) + 200(S_1^+ + S_2^+ + S_3^+ + S_4^+) + 400(S_1^- + S_2^- + S_3^- + S_4^-)$ subject to $10x_1 = 400 + I_1$ $I_1 + 10x_2 = 600 + I_2$ $I_2 + 10x_3 = 400 + I_3$ $I_3 + 10x_4 = 500$ $x_1 =…
The following algorithm takes two arrays A and B and four integers alo, aHi, bLo and bHi. Alg(A, B, alo, ahi, blo, bhi) if alo > aHi return 0 if alo == aHi return A[alo] if blo > bhi return 0 else if blo == bHi return B[blo] else aMid = (alo + aHi)/2 bMid = (blo + bHi)/2 return Alg(A, B, alo,…
(4) Build an activity diagram to describe the process of registering, making a view appointment, placing a contact for a tenant. Tips for the process: A tenant first needs to register and login into the system. Next, the system checks whether the account is authenticated. If it is not, the…
3. Consider the below access control matrix representation of a Role Based Access Control scheme. ROLES Manager Staff Accountant Owner Alex X Brianna X USERS Carl X X Diana X Evan X OBJECTS File 1 File 2 File 3 File…
Below is a basic sound inventory of Blackfoot, an Algonquian language of Southern Alberta. Compare this set with the basic sounds of English to answer the questions that follow.¹ [ p t k ? s ç x tʃ kʃ m n w j i o a ] a. List the sounds of Blackfoot that are not found in English. b. List any…
SIMULATION A security analyst is creating the first draft of a network diagram for the company's new customer-facing payment application that will be hosted by a third-party cloud service provider. INSTRUCTIONS Click the ? to select the appropriate icons to create a secure, redundant web…
Part A: Fuzzy Sets Question 1 $A(x) = \{(x_1, 0.15), (x_2, 0.27), (x_3, 0.47), (x_4, 0.57)\}$ $B(x) = \{(x_1, 0.35), (x_2, 0.48), (x_3, 0.58), (x_4, 0.69)\}$ A) Determine the scalar cardinality of these fuzzy sets and describe what does this scalar cardinality imply B) Find: $\bar{A}(x)$,…
Your friend is a crack circuit designer. She has offered to redesign one of the units in the single-cycle ARM processor to have half the delay. Using the delays from Table 1, which unit should she work on to obtain the greatest speedup of the overall processor, and what would the cycle time of…
(2 points) A shipping company uses the following function to calculate the cost of shipping $c$ based on the weight of the package $w$. $$ c = \begin{cases} 15, & \text{if } 0 < w \le 5 \\ 10 + 3w, & \text{if } 5 < w \le 20 \\ 75, & \text{if } 20 < w \end{cases} $$ Write a program that prompts…
2.1 3-State MDP Assume the following 3-state MDP with states A, B, and C, and actions α and β. We assume a continuing task with no terminal state. Assume further the agent acts on this MDP with a deterministic policy π: π(α|A) = π(α|B) = π(β|C) = 1. If γ = 0, the state value function for π is…
Instructions: Propose a database solution to the following case problems that are normalized with well-formed relations in 3NF. Case Problem #1: Parking Ticket Table St ID L Name F Name Phone No St Lic Lic No Ticket # Date Code Fine 38249 Brown Thomas 111-7804 FL BRY…
Question 8 of 15: What is CUI Basic? (Select the best answer) The subset of CUI requiring DOD personnel to submit and obtain information for entries into SF 86c The subset of CUI requiring DOD contractors to provide the information needed for the completion of DD Form 254 The subset of CUI for…
Match the relational database function to the appropriate relational database term: Relational Database Function 1. Serves as a unique identifier in a database table. 2. Creates a relationship between two tables. 3. Two foreign keys from the tables that it is linking combine to make up a unique…
Consider the following statement: $\exists$ a program $p$ such that $p$ is structured. Which of the following are equivalent ways of expressing this statement? 1. All programs are structured. 2. There is a program that is not structured. 3. Some programs are structured. 4. Some programs are not…
During the first year of life, babies grow very rapidly. Which of the following statements accurately describes their growth pattern? CLO3 Oa. Babies grow at a steady rate, reaching four times their birth weight by the end of the first year. Ob. Babies triple their birth weight by 4 to 6 months…
User PK UserID int Username String Email String Password String Join Community PK CommunityID int Name String Description String Activity PK ActivityID int FK UserID int FK CommunityID int type String Content String Timestamp datetime Music Anime PK MusicID String PK AnimeID int FK…
You're tasked with selecting an email provider. The team requests that your email activities: • Integrate with your existing toolkit • Include prebuilt workflows and templates • Align with spam and privacy laws • Offer affordable fees given the list size • Let users measure campaigns Which…
Question Goal: Learn to iterate over a file. Assignment: Given a file whose name is stored in the String variable fileName, write a code snippet that counts the number of words in this file. Store the result in the int variable wordCount (assume it's already been declared but not initialized),…
2. (30 points) Runtime Analysis How many times is function g() called in each code segment? Clearly explain your answer and express the bounds in terms of $n$ in big-O notation. (a) (15 points) Code Segment 1: j=0 i=0 while $i \leq n$ do $j = j+1$ $i = i+j$ g() end (b) (15 points) Code Segment…
1. Suppose G is a secure PRG with stretch $\ell$. Prove that the following function H is also a secure PRG: H(S): if S == $0^\lambda$: return $0^{\lambda + \ell}$ else: return G(S) Thus, it is possible for a PRG to be secure despite having a "weak" input. Hint: Use the bad event technique. 2.…
Problem 1: Consider the function $f(x) = x^3 - 2x + 4$ on the interval $[-2, -1]$ with $h = 0.50$. Use finite difference approximations to evaluate the first derivative of the function. Present the results from parts 1.1 through 1.3 in a table. The table should include the value of $x$, the…
Menu A - Append P - Prepend I - Insert After R - Remove After D - Display List V - Reverse List C - Count List Items Q - Quit Program :: a Appending List.... Enter a number for node data: 9 The list now has 1 item. Menu A - Append P - Prepend I - Insert After R - Remove After D - Display List V…
26. Let Q (x, y) be the statement "$x + y = x - y$". If the domain for both variables consists of all integers, what are the truth values? a) Q (1,1) b) Q (2,0) c) $\forall y Q(1, y)$ d) $\exists x Q(x, 2)$ e) $\exists x \exists y Q(x, y)$ f) $\forall x \exists y Q(x, y)$ g) $\exists y \forall…
4. Consider the following C++ program. Do not run it. #include <iostream> using namespace std; int main() { unsigned int x = 79; while (x <= 79) x--; cout << "x=" << x << endl; return 0; } Your friend Rufus argues that this program has an infinite loop, and will therefore never end. Is he right…
2. C++ ASCII Rectangle Programming Task Create a program that prompts the user to input the width and height of a rectangle. The program should then print an ascii rectangle, where the rectangle is made up of alternating asterisks * and hyphens -. Sample Input 1 7 4 Sample Output 1 * - * - * -…
Consider a database with the following tables: Customer Primary key: Cus_Code Foreign Key: Agent_Code Cust_Code Cus_Lname Cus_Zip Agent_Code 1132445 Walker 32145 231 1217782 Adares 32145 125 1312243 Rakowski 34129 267 1321242 Rodriguez 27134 125 1542311 Smithson 37134 421 1657399 Vanloo 32145…
1. Write a program to create a 5 * 10 2D array and fill 0 to 49 to cells column by column, as shown below: 0 5 10 15 20 25 30 35 40 45 1 6 11 16 21 26 31 36 41 46 2 7 12 17 22 27 32 37 42 47 3 8 13 18 23 28 33 38 43 48 4 9 14 19 24 29 34 39 44 49
1. [10 points] Consider running the Perceptron algorithm on a training set $S$ arranged in a certain order. Now suppose we run it with the same initial weights and on the same training set but in a different order, $S'$. Does Perceptron make the same number of mistakes? Does it end up with the…
The National Institute of Standards and Technology (NIST) has three IT security control categories. The following are controls in one of the categories: • Personnel and user issues • Contingency and disaster planning • Incident response and handling • Awareness, training, and education •…
What is underfitting? Multiple Choice when a machine learning model matches the training data so closely that the model fails to make correct predictions on new data when a machine learning model has poor predictive abilities because it did not learn the complexity in the training data occurs…
Example: The following are three random samples of carat values from the diamonds dataset. samples 8 rows Sample_One Sample_Two Sample_Three <dbl> <dbl> <dbl> 0.41 2.68 1.05 1.01 1.01 0.31 1.22 0.26 0.31 1.02 0.90 0.30 0.30 0.43 0.40 0.30 0.53 1.50 1.00 2.00 2.27 1.17 0.33 5.00 1. Use the code…
Example: plaintext ciphertext • Suppose eff. adv. A can always deduce lsb(m) from E(k,m) => the cipher (E,D) is not semantically secure Challenger $m_0$ s.t. lsb($m_0$) = 0 $m_1$ s.t. lsb($m_1$) = 1 Adversary B (us) $k \leftarrow_R \mathcal{K}$ $c \leftarrow E(k, m_b)$ c $b \leftarrow_R \{0,…
Question 3 (2 pt) Calculate the sum and the product of the following two numbers, by applying the algorithms for floating-point addition and multiplication. Show all intermediate steps, as presented in class. Give the results as hexadecimal numbers. A = 0x40200000 (base 16, IEEE-754…
class Person ( Q_PROPERTY (QString name READ getName WRITE setName) public: Person(); Person (QString name); QString toString() const; private: QString name; }; class Employee { public: Employee(); Employee (QString name); QString toString() const; }; 3.1 We require the two classes above to…
Categorization 1 point Based on the diagram in Figure 2, determine whether the device would benefit from dynamic routing. Would benefit from dynamic routing No Answers Chosen Possible answers Router R2 Router R4 Host H3 Host H1 Would not likely benefit from dynamic routing No Answers Chosen
In mathematics, the Nth harmonic number is defined to be $1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + ... + \frac{1}{N}$. So, the first harmonic number is 1, the second is 1.5, the third is 1.83333... and so on. Write an expression whose value is the 8th harmonic number. (for this problem,…
Question Goal: Learn to declare PrintWriter objects. Assignment: In a logging system for an e-commerce application, given an initialized String variable logFile, write a statement that declares a PrintWriter reference variable named logWriter and initializes it to a reference to a newly created…
1- (1.5 points) Write a program that calculates the following formula and displays its result. Note: You cannot pre-calculate any parts of the formula, meaning that the full formula needs to be coded. $$ \frac{2 \times (3 \times 12) - 5}{22 - 4 \times 3} $$
Question 2: Hexadecimal Representation Which of the following is true about hexadecimal representation? Hexadecimal is a base 60 representation Hexadecimal uses fewer digits than binary for numbers greater than 15 Hexadecimal uses more digits than decimal for numbers greater than 15 The…
Assume that $T(n) = 2T(\sqrt{n}) + \log_2 n$. If counter = $\Theta(n^k (\log n)^c (\log \log n)^r)$, what is $c + k + r$ rounded to the nearest hundredth? (If the Master Theorem cannot be used on this recurrence, use the answer -1.) HINT: After staring blankly at the question for approximately…
Grid Class We will use the simple CS106A Grid utility class to store the 2-d data Reference Using the Grid looks like this grid = Grid(3, 2) grid.set(0, 0, 'hi') val = grid.get(0, 0) if grid.in_bounds(4, 5): # make 3 by 2 grid, initially # set a value at 0,0 # get a value out at 0,0 # is 4,5 in…
Antonella wants to send a private email to her friend Margaret. To ensure the privacy of the email, she uses GnuPG (GNU Privacy Guard) to create a key. She then sends the email to Margaret, and later sends the key to her. What type of encryption is Antonella using in this scenario? O symmetric…
Q6 From "A Mulching Proposal" 1 Point Which of the following is the main takeaway of this paper? All algorithms that are FAT are also ethical. The elderly with low social credit scores should be at risk of mulching. An algorithm can be FAT but unethical. As long as there is an option for…
Jump to level 1 numList: 67 10 50 allocationSize: 4 length: 3 numList.search(10) executes. How many elements in numList will be compared with 10? What is returned? Next, numList.removeAt(0) executes. numList.search(10) executes again. How many elements in numList will be compared with 10? What…
3. Given the function: $F(x, y, z) = x\bar{y}z + x\bar{y}\bar{z} + xyz$ a. List the truth table for F. b. Draw the logic circuit using the original Boolean expression c. Simplify the expression using Boolean algebra and identities. d. List the truth table for your answer in Part c. e. Draw the…
Which of the following statements about AI is/are correct? Select one: A. AI algorithms can exhibit biases based on the data they're trained on B. AI applications are expected to replace all the jobs traditionally performed by Office Professionals C. Chatbots like ChatGPT can be considered…
1. Consider the access control matrix given below. File 1 File 2 Process 1 Disk 1 Alex Read Read Wakeup Own Write Write Seek Brianna Read Execute Seek Write Carl Read Own Execute Seek Read Stop Write Diana Own Read Stop Read Write Represent the above access control scheme using: a. (5…
Rewrite the Excel formula, = F2 * E5 - H4, after it has been moved as specified below. a. down 3 cells b. right 4 cells (starting with formula = F2 * E5 - H4) c. up 1 cell (starting with formula = F2 * E5 - H4) d. left 1 cell (starting with formula = F2 * E5 - H4)
How can you confirm that voting buttons have been added in your email message? Voting buttons get inserted in the form of an attachment. A note appears at the bottom of the email stating that voting buttons are added to the message. A note appears at the top of the email stating that voting…
The National Institute of Standards and Technology (NIST) has three IT security control categories. The following are controls in one of the categories: Security policy Security program management Risk management Security and planning the computer system life cycle Assurance The above controls…
4. Using the following grammar: $\langle S \rangle \rightarrow \langle A \rangle a \langle B \rangle b$ $\langle A \rangle \rightarrow \langle A \rangle b | b$ $\langle B \rangle \rightarrow a \langle B \rangle | a$ Which of the following sentences are legal in the language generated by this…
Question 2 Let us consider the following two fuzzy sets in the same discrete universe of discourse: $A(x) = \{(x_1, 0.2), (x_2, 0.25), (x_3, 0.3), (x_4, 0.35), (x_5, 0.4)\}$ $B(x) = \{(x_1, 0.3), (x_2, 0.32), (x_3, 0.4), (x_4, 0.45), (x_5, 0.5)\}$ Determine inaccuracy of the fuzzy set B(x) with…
Let T(n) denote the asymptotic run time of this function. int B(int n) { if (n == 0) return 1; if (B(n/2) >= 10) return B(n/2) + 10; else return 10; } As n increases, which of hthe following is true? a. $T(n) \in \Theta(n^2)$ b. $T(n) \in \Theta(n)$ c. $T(n) \in \Theta(n \log(n))$ d. $T(n) \in…
Which of the following describes a cloud hosting feature? Select one: Cloud-hosting offers a high degree of transparency on data backup and security. Organizations that hire cloud services run the risk of investing in technology that may become obsolete. Even the most reputable organizations do…
For this Assignment you will write a 1-2 paper/report. You must explain to me the difference (in as much detail as possible) between the four devices listed below. Remember, you are college students and I do expect college level reports. You will loose point for poor report…
What distinguishes intrusion prevention systems (IPS) from intrusion detection systems (IDS)? IDS focuses on monitoring network-wide traffic patterns, whereas IPS inspects packet payloads. IPS requires less configuration than IDS to avoid false positives. IPS provides real-time blocking of…
Select the complex reflection that best emphasizes the client's interest in change. I eat a lot of snacks during the day. Then, I'm already pretty full when it's time for dinner. Snacks have become part of your routine. When you snack, you don't eat dinner. You're worried that snacking might…
An expert system is a form of artificial intelligence in which a program draws on the rules an expert in a given field has laid out to arrive at a solution for a problem. Select one: O True O False
Q5. For each of the following indicate if f = O(g) or f = $\Theta$(g) or f = $\Omega$(g). (10points) (1). f(n) = n$^4$/log(n) g(n) = n(log(n))$^4$ (2). f(n) = n*log(n) g(n) = n$^2$log(n$^2$) (3). f(n) = log(n) g(n) = log(log(5$^n$)) (4). f(n) = n$^{1/3}$ g(n) =…
Question 1: ASCII Facts Which of the following is not true about ASCII? ASCII is a floating point representation Upper and lower case letters have different ASCII codes ASCII includes codes for punctuation symbols ?!:;., ASCII uses 16 bits to encode characters Bold and italics have different…
When $K = \overline{K}$ and $L = \overline{L}$, then output is determined by the total amount of labor in an economy. the total amount of capital in an economy. the total amount of capital and labor available in an economy. a percentage of capital and labor in an economy. Not enough information…
Q5. [5 pts] Suppose one packet is transmitted from a source to a destination via a path of N links each with a rate of R. Then, the end to end transmission delay is NL/R. What is the transmission delay time for P packets if the source and destination are connected via M routers?
What is the logic function $f(a, b, c)$? (Note: $b$ represents the MSB (most significant bit) and $a$ represents the LSB (least significant bit) of the control bits) $f = ab' + c$ $f = a'c$ $f = b'c$ $f = abc$ 0 1 4-1 mux 2 3 c 0 1 a b f
[6pt] Write a MATLAB program that include: • A function file named myFunction.m that contains the function myFunction(x), which evaluates $f(x) = x^2 - 4x + 6$ • In the main, use this function to compute $f(x)$ for $x = 1, 2, 3, 4, 5$. • Print the values of $f(x)$ for each $x$.
Which of the following accurately describes preemptive multitasking? The OS waits for an application to release control of the processor The OS allocates resources to applications but remains in full control The user controls which application uses the CPU and when The CPU lets each application…
Question B5: Provide a logical argument showing that the premises: P1: $\forall x \forall y (E(y) \land H(x) \to R(x,y))$ P2: $\forall x (W(x) \to H(x))$ P3: $r \to W(grass)$ P4: $E(Homer)$ can be used to reach the conclusion: $r \to R(grass, Homer)$. State which rule of inference you use at…
Which is the easiest method of making changes to a contact card? Select one: Contact tab, Actions group, Update Create a new contact card with the new information. Double-click on the contact in the list and change the desired information. Click on the contact in the list and change the desired…
Programming Task Create a program that prompts the user to input the width and height of a rectangle. The program should then print an ascii rectangle, where the rectangle is made up of alternating asterisks * and hyphens -. Sample Input 1 7 4 Sample Output…
What role does an Intrusion Detection System (IDS) play in conjunction with port mirroring? It compresses mirrored data to save storage space. It encrypts all mirrored traffic for security. It acts as a firewall to block unauthorized access. It analyzes the mirrored traffic for anomalies and…
• Write a static method $\text{NumberAboveAverage}$ to count the number of elements above the average for the given int array • Inside main method, create an int array of size 20, initialize the elements with some random numbers between 1 to 100, and then call the method and display the result
3. Suppose a Fourier series is needed for a function defined in the interval $0 < x < 2a$. Show how to construct a periodic extension with period $2a$ and give formulas for the Fourier coefficients which use only integrals from 0 to $2a$. (Hint: see Exercise 5, Section 1.)
8. (10 points) If the decimal integer values from 0 to 15 are to be transmitted in binary. a. How many lines will be needed if parallel representation is used? b. How many lines will be needed if serial representation is used? c. Draw a sketch of each of these configurations.
What is a key advantage of using a Host-based Intrusion Prevention System (HIPS)? It can monitor and block threats at the network perimeter. It provides real-time protection by blocking suspicious activities on individual devices. It operates without affecting the performance of the host…
A field service technician is replacing a server motherboard that supports CPUs with multithreading capabilities. The technician notices the motherboard has four processor sockets. If each socket supports a quad-core processor, how many logical processors does the system appear to have? a)…
Read the following expression, then choose the correct answer: A simple sentence is one independent clause with no subordinate clauses. Which part of the expression above is an independent clause? With no subordinate clauses. A simple sentence. A simple sentence is one independent clause. A…
4. Use the directed graph below to answer the following questions. Oregon Alaska Texas Hawaii Vermont New York California a. To which states does Texas have a path? b. To which states does Vermont have a path? c. Which states do not have a path to any other states?
Question 1 1 pts AND(condition 1, condition 2...) is a logical function that returns TRUE if all conditions are true and FALSE if not. True False
Oscar traveled to Sydney, Australia to attend a work conference and just traveled with his tablet. When he needed to show potential clients the presentation from his company, he logged on and downloaded the file from the company's account tablet based storage international storage roving…
What role does the 'hub' play in FÖN's cloud service provisioning model? It serves as the primary cloud infrastructure partner It facilitates integration between different cloud providers It enables FÖN to offer managed services to clients It acts as a central point for client engagement and…
[6pt] Write a MATLAB script that: • Creates a 3 × 3 matrix A where $A(i, j) = i + j$. • Computes the matrix product $C = A \cdot A'$ (where $A'$ is the adjoint/transpose of A). • Prints the matrix A, and the resulting matrix C.
A(n) ______ is a gathering of 6 to 10 people carefully selected by researchers based on certain demographic, psychographic, or other considerations and brought together to discuss various topics of interest at length. O target group O pilot group O focus group O customer base O ethnographic…
Multiple Choice 4 points Read the code snippet below. then choose the type of logical code structure this snippet represents from the list below. if number > 5: newNumber = number * 0.2 else: newNumber = number * 1.5 Recursion Selection Function Sequence Error handling Nesting Iteration Method
Let P, Q and R be simplest statements. In using the truth table for determining whether the following statement is a tautology, contradiction or contingent statement, how many rows and columns must be provided? $(Q \land P \implies R) \implies Q \land R$ a. Any number of rows and columns b. 8…
Question 30 What are some recent technological advancements that would provide new opportunities for entrepreneurs? Virtual technology, the internet, cell phones, Excel Drones, AR/VR, machine learning, MS Office Network bandwidth enhancement, telehealth, cell phones, fitness apps Drones,…
In computer networking, carrier sensing refers to Monitoring the medium to detect whether another station is transmitting data Monitoring network carriers (eg AT&T, Comcast etc) to ensure quality of service Sensing the network load of the network carriers (eg AT&T, Comcast etc) None of the…
The following algorithm finds the largest value in an array of n > 0 integers. The array is assumed to have indices from 0 to n - 1. To within a constant factor, how much time does the algorithm take? maxval(A, n) m = A[0] for k = 1, 2, ..., n - 1 if(m < A[k]) m = A[k] return…
6. (20 Points) Write a code that reads the input file input.txt, prints its lines with even numbers of characters, and writes the numbers of lower-case English letters of each line into a file named output.txt. Example: input.txt: AbC33 bBc2 Print: bBc2 output.txt: 1 2
Indicate which one of the following reactions results in a negative $\Delta S_{sys}$. a. $H_2O(g) \rightleftharpoons H_2O(s)$ b. $CaCO_3(s) \rightleftharpoons CaO(s) + CO_2(g)$ c. $CuSO_4(H_2O)_5(s) \rightleftharpoons CuSO_4(s) + 5H_2O(g)$ d. $14O_2(g) + 3NH_4NO_3(s) + C_{10}H_{22}(l)…
Identify pro/con of analysis techniques Blacklisting ✓ [Choose] Cannot catch new attack types Sometimes it is difficult to define what is normal Whitelisting Catches known bad and unknown bad Does not work well with small datasets Computationally expensive Long tail analysis [Choose] Anomaly…
Which data type would most appropriately be used to represent the following data values? a. The number of months in a year b. The area of a circle c. The current minimum wage d. The approximate age of the universe (12,000,000,000 years) e. Your name
CPU Register file PC ALU System bus Memory bus Bus interface I/O bridge Main memory "hello, world\n" hello code I/O bus USB controller Graphics adapter Disk controller Expansion slots for other devices such as network adapters Mouse Keyboard Display Disk hello executable stored on disk
Question 4 In designing screen views, spaces/fields where symbols, acronyms, and abbreviations are entered should be accompanied by: a. CMS approval b. easily available definitions of all symbols, acronyms, and abbreviations c. Joint Commission approval d. a warning not to use symbols,…
Question 1 Which of the following is a disadvantage of Cloud Computing? Cloud computing depends on an Internet connection. With cloud computing, there is no need for local data storage. With cloud computing, there is no need to download applications. Cloud computing enables collaborative work.
Question 24 4 pts In a subnet, a host has been assigned the following configuration parameters: 172.17.2.187/29. Which of the following are usable IP addresses for the network that this host is a part of? Select two…
Prove (or disprove) the following by showing calculations for the conversions: a) $124_{10} = 7C_{16}$ b) $578_8 = 101111_2$ c) $FF_{16} = 377_8$ d) $101010101_2 = 85_{10}$ e) $99_{10} = 143_8$
A large institution, such as a bank, may have thousands of transactions to process in which no user interaction is required; which type of computer system are you most likely to use? O mainframe O real-time system O Windows PC O high-end workstation
Exercise 5: 1. Design a flowchart for a program that finds the highest test grade from 20 entries. 2. Design a flowchart for a program that finds the lowest test grade from 20 entries. 3. What are the main differences between both flowcharts?
Home / My Home / 2025 Spring CM 1011 for Ge 2025 Spring CM 1011 for Gerrad Question 6 Not yet answered Points out of 1.00 Flag question The post-construction stage is the cleanup stage. Select one: True False Time left 0:00:42
What is the role of an API in the context of a jump box and automation? To manually monitor network traffic To serve as an interface for automated scripting To act as a physical firewall To reduce the need for secure connections
2. Determine the truth table for a circuit called MUX2. MUX2 has three bits of input S, $y_0$, $y_1$ and one bit of output F. If S = 0, then F = $y_0$; else if S = 1, then F = $y_1$.
Question 1 (1 point) def add_num (num_1 = 10): print(num_1 + num_1) Choose the correct output of calling the function above using the code: add_num() 10 20 an Error 0
Assume that $T(n) = T(n/2) + T(n/4) + T(n/8) + n$. If $T(n) = \Theta(n^k (\log n)^c)$, what is $c + k$ rounded to the nearest hundredth? (If the Master Theorem cannot be used on this recurrence, use the answer -1.)
Q6 From Tidy Data 1 Point Which of the following are true of a tidy dataset? Select all that apply. Variables are stored in rows and columns. Every variable has its own separate column. Column headers are variable names, not values.
Question 5 Logical and psychological slippery slope arguments are primarily designed to show: Moral equivalence between two courses of action Undesirable consequences will occur from a decision Logical equivalence between two courses of action Desirable consequences will occur from a decision
Which of the following best describes the role of hashing techniques in File Integrity Monitoring? Creating unique identifiers for files to detect changes Encrypting files to protect data privacy Enhancing file transfer speeds over networks Compressing file sizes for storage efficiency
8. (10 points each) Use the recurrence tree method to solve the following recurrence relation. Make sure to include a tree diagram and show all steps in your answer. (a) $T(n) = 2T(n-1) + 2^n$, $T(1) = 1$ (b) $T(n) = 2T(n-1) + 1$, $T(1) = 1$ (c) $T(n) = 2T(n/2) + n^4$, $T(1) = 1$.
With \_\_\_\_\_\_\_\_ clustering, each point starts off as its own cluster. The two closest points are then clustered into one, then the next two closest, and so on, until a set number of clusters are generated. k-means heuristic hierarchical perceptron
All of the following are advantages of using broadcasting to send data, except It can be used for networks of any size It is simple It is inexpensive It does not require any controllers to regulate who can transmit data
Which statement about encryption is true? Encryption is the same as deidentification Data lost prevention tools serve the same purpose as encryption Expense of encryption does not justify its use Poorly implemented encryption can be worse than no encryption
an example of the proper use of the Python input() function is answer = INPUT ("enter your answer: ") answer = input("enter your answer: ") answer = INPUT (enter your answer: ) answer = input (enter your answer: )
Q2: True/False: The good thing about ratios is that they can be used to compare all companies to each other, regardless of which industry they are in.
• Write a program to create a 2D array of size 10 * 10, • then initialize the elements with random numbers between 20 to 120 • Then display the array, the largest number, and the smallest number
When assessing risk in an IT environment, which methodology identifies flaws or weaknesses that can be triggered or exploited, which might result in a breach? A. System characterization B. Impact analysis C. Vulnerability identification D. Control recommendations
How does Network Access Control (NAC) contribute to reducing security risks in an organization? By enforcing security policies and restricting unauthorized access By conducting vulnerability assessments By encrypting sensitive data at rest By providing real-time antivirus protection
What are digital certificates primarily used for? O encrypting sensitive data transmitted over the Internet O authenticating user identity during online transactions O signing digital documents O certifying and securing web servers where sensitive information is exchanged
Question 2 Which one is a property of early email messages that used in the 1980s? Limited emojis were available It was slower than regular mail They were limited to 140 characters Short and contained only text
The addition of a software package on top of a cloud storage volume makes most cloud storage offerings conform to a \_\_\_\_\_\_\_ as a Service model. a. Software b. Platform c. Analytics d. None of the above
Practice Question 2 of 3 Which statement is an accurate description of software? A computer that receives input from users A powerful centralized computing system The encoded programs that control how computers function Attempt 1 of 3
RPA is an event-based method that does not require human interaction to run; the trigger is typically time based so that it runs according to a predetermined schedule. O Hybrid O Unattended O Virtual O Attended
Why are all models imperfect? Computers do not have enough memory for perfect models Data modeling is hard Models are simplified representations of an object of interest This statement is incorrect - some models are perfect
Which of the following is the best example of a mutator? public Queue() public T peek() public String toString() public boolean offEnd() public void pop()
What is the purpose of the scp command in SSH? To securely copy files between hosts To list files in the remote directory To change the SSH server's configuration To generate a new SSH key pair
What does it mean to "codify" criminal law? Owritten definitions of crimes and punishment enacted by legislatures and published Oto make it constitutional Oto convert it to computer code Oto write it into all languages
When a computing environment requires that some processing of applications takes place on a server and on a PC-class computer, which type of system are you using? multiuser system real-time system mainframe system client/server system
The purpose of a database is to __________. A. simplify the use of the cloud B. keep track of things that share a single theme C. be able to implement low-code development D. eliminate the need to learn about spreadsheets E. keep track of things that involve multiple themes
What type of data does a network flow provide? Statistics on packets traversing interfaces Detailed application code logs IP addresses of blocked websites User login credentials
2.7 Use the HOUR function in cell D12 to calculate the "Hour" portion of the "Entry Swipe" found in cell C12. Copy and paste the function down to complete the "Hour" column of the table.
Let $f(n) = 2n^3 + \lg n$ $f(n)$ is: (choose all that applies) $o(n^2)$ (Small – oh of $n^2$) $\omega(n^2)$ (Small - omega of $n^2$) $\Theta(n^2)$ (Theta of $n^2$) $o(n^{3.01})$ (small – oh of $n^{3.01}$)
Question 2 Of the following choices which statements are correct [A] [B] = [B] [A] [A] - [B] = [B] - [A] ([A][B])<sup>T</sup> = [B]<sup>T</sup> [A]<sup>T</sup> [A] {b} = {b}<sup>T</sup> [A] ([A][B])<sup>-1</sup> = [B]<sup>-1</sup> [A]<sup>-1</sup>
Question 4 Logical Operations What is the output of this R code? x <- TRUE y <- FALSE result <- x & y print(result) O Error O NA O FALSE O TRUE 1 pts
Echo is not a useful error detection techniques in computer networking because Errors may cancel out during the echo It is complex to use It is difficult to implement It is time consuming
What is the primary purpose of File Integrity Monitoring (FIM) in cybersecurity? Backing up critical system files Enhancing system performance Continuously monitoring file systems for unauthorized changes Ensuring compliance with all software licenses
5 6 8 9 11 12 14 15 17 18 Ethical issues a) are always clearly defined. b) seldom involve legal issues. c) often resolve themselves. d) are questions of right and wrong.
Evaluate the integral. (Remember to use absolute values where appropriate. Use C for the constant of integration.) $\int \sqrt{x^2 + 6x} dx$ $(x+3)\sqrt{x^2+6x} - \frac{9}{2} \ln \left| \frac{x+3 + \sqrt{x^2+6x}}{3} \right| + C$
Which operating system, usually distributed for free, relies on open source software that is developed by volunteers and contains code in the public domain? Windows Server 2012/R2 Linux Windows 10 Mac OS X
Some say the fact that most GPT's internal processes happen in a "black box" and are hidden from users violates the principle of \_\_\_\_\_\_\_\_\_\_. information security free use transparency the first amendment
Mach SIEM components and their functions Log broker Log aggregator Log collector Alert engine ✓ [Choose ] Generate alerts Log enrichment Agents Manage peak loads Cloud based tools [Choose ] [Choose ]
What is the function of the transport layer in Syslog? Managing the transportation of Syslog messages across the network Storing Syslog messages Handling message generation and routing Assigning facility codes to messages
What techniques do Endpoint Detection and Response (EDR) systems use to detect malicious activities on endpoints? Only heuristic analysis Only behavioral analysis Signature-based detection, heuristic analysis, and behavioral analysis Only signature-based detection
Identify if the following statement is True or False: Al is moving at a faster pace than Moore's Law. O True O False
The data link layer is unique because it can be divided into sublayers. What are those sublayers? Choose all that apply. MAC sublayer LLC (logical link control) sublayer IP sublayer Ethernet sublayer
Question 2 (2 pt) Convert the following numbers, showing all intermediate steps. (a) (1 pt) 0xc1910000 (IEEE-754 single-precision) to decimal (b) (1 pt) $1.011 \times 2^{-129}$ (base 2) in IEEE-754 single-precision
Search query Search word Question 29 of 40 Final Assessment Where does the domain name of a website primarily sit? In the URL In the coding of your header image In your navigation menu In your logo's hyperlink Question 30 of 40 Final Assessment
An IT infrastructure audit ______ is the system in a known good state, with the applied minimum controls relative to the accepted risk. A. scope B. objective C. framework D. baseline
If a runtime $T(n)$ that is both $O(n^3)$ and $\Omega(n^2)$, then $T(n)$ must be a part of which of the following runtime classes? â—‹ $O(n^2)$ â—‹ $\Theta(n^2)$ â—‹ $\Omega(n)$ â—‹ $\Theta(n^3)$
Which of the following are true about variable names in Python? They cannot begin with a number. Spaces are not allowed. They can include underscores All of these are true
Blank 1 is a button, link, or message that prompts users to take a specific action, such as "Buy Now," "Sign Up," or "Get Started." Blank 1 Add your answer
What options would you have if you were choosing a motor for the same application, but in an environment that requires an explosion-proof housing? Take the same factors into account.
Question 3 All well-designed forms should have the same basic components including: a. a heading describing content and purpose of the form b. instructions on how to complete the form c. space to enter required information d. all of the above
Grade Comparison Calculator Your Name Student average: 95 Calculate Class average: 85 Clear Difference: +10 Class comparison: Above Average Grade: A
According to the Cloud Provisioning Trilemma, what dimension involves ensuring that interdependencies among various cloud-based services are operational and deliver value? O Control O Coordination O Convenience O Compliance
Which of the following is a method for storing data over multiple file servers? A distributed file system A data warehouse An enterprise resource planning system A relational database
The memory map of a 8 kB memory chip begins at the location E000H. The last location of the memory address. O EFOOH O E000H O FOOOH O FFFFH
What defines the maximum payload size that a layer 2 frame can encapsulate? FCS (frame check sequence) JFU (jumbo frame unit) MTU (maximum transmission unit) FTU (frame transmission unit)
The service Freedrive is a storage that allows \_\_\_\_\_\_ users to view the contents of the others. a. Facebook b. Twitter c. WhatsApp d. None of the above
2. Write an example of using multiple relational operators: 1. Python example without Boolean operators 2. Python example with Boolean operators 3. Comparable Java example using Boolean operators
The advantage of memory mapped i/o over i/o mapped i/o is ________ Require a bigger address decoder Many instructions supporting memory mapped i/o All of the above Faster
The process whereby human researchers train computer algorithms to identify important concepts based on their own expertise and objectives is called [Select]. Why is human oversight important? [Select]
(1.5 points) Assume that a runner runs 20 miles in 1 hour and 30 minutes. Write a code that displays the average speed of this runner in kilometers per hour. Note: 1 mile is equal to 1.6 kilometers.
Which of the following is a job typically performed by the kernel? managing CPU interactions handling input from the keyboard handling output to the monitor enabling multimedia
What is the primary function of DNS in a network? Translating domain names to IP addresses Filtering network traffic Assigning IP addresses to devices Managing network security
Which among the following happens during pickling? a. list converted to dataframe b. convert dataframe to list c. convert bytes to object d. convert object to bytes
Question 9 2 pts In the order of operations for Excel (Order of Precedence), which operators (arithmetic or relational) have the lower order of precedence: Arithmetic Relational
18. Which of the following has direct supervision over ball holders? A. The home team's coach. B. The away team's coach. C. The officials. D. Game management.
Which one of the following methods of allocating joint costs uses a measure of weight, size or number of units to allocate joint costs to joint products?
Which is NOT a characteristic of Buddy Holly: 1st to use the Fender Stratocaster bitter divorce cut short career pioneered 4-piece combo produced his own music
What are the projections of the point (-3, -7, -1) on the coordinate planes? On the xy-plane: ( On the yz-plane: ( On the xz-plane: (
Which is a correct example of concatenation? print(concatenation) print(first_name) first_name = "John" + last_name = "Doe" print("My name is" + first_name + " " + last_name)
Which option lets you search for specific items in the Calendar, Notes, and Tasks in the Search bar? Current Folder Current Mailbox All Outlook Items Subfolders
SkyDrive relies on ____ users to launch new products. a. HP b. Apple c. Microsoft d. Linux
What does a stateless firewall inspect in a packet? Both source and destination IP addresses Physical layer information Only the destination port The entire packet payload
Simply put, the \_\_\_\_\_\_ is the Internet - more specifically, it's all of the things you can access remotely over the Internet. Select one: a. search engine b. cloud c. email client d. web browser
Which of the following best describes File Explorer? the end of a file name that determines the file type program that controls the computer settings program that allows access and management of files and folders
In a histogram, what is usually represented on the y-axis? Individual data points values Data categories Time duration Frequencies (or count), sometimes could be relative frequency
Question 2 Data Types in R What is the output of the following R code? a <- 15 class(a) "numeric" "integer" "double" "character" 1 pts
Question 1 A word processor is best described as which type of operating system element? application programming interface resource manager application software basic input/output system
Which of the following is one of the disadvantages of conventional flat files? Requires more sophisticated hardware and software Harder to store large amounts of data Difficult to search and retrieve data Data redundancy
In terms of security, data exists generally in three states. In what state is data being moved? at rest in use in stasis in transit
COSO stands for _______________. A. Committee of Sponsoring Organizations B. Common Objective Security Organizations C. Common Ongoing Security Organizations D. Committee of Security Organizations
Question 4 One major concern of cloud computing is O does not work on MACs and PCs O security of data O too expensive
What are some ways to increase efficiency when reusing these or other functions in a number of programs Edit View Insert Format Tools Table
Question 5 The word "cloud" in cloud computing represents what? Google the Internet the number of people on-line the computer you are working on
Sender Receiver Seq# 15 Data <20 bytes> b1? Data <23 bytes> b2? Data <8 bytes> Timeout retransmission b5? Data <b6?> Ack# b3? b4? b7?
What is the value stored in num after the following code segment executes? value = 72 div = 10 num = value / div
systems are used in time-critical environments where reliability is key and data must be processed within a strict time limit. Embedded Hybrid Interactive Real-time
What command can be used to display the last five lines of a text file? stop -5 head -5 end -5 tail -5
Besides IP, what other protocol plays a significant role on both IPv4 and IPv6 networks? O ARP O NDP O TTL O ICMP
1 Multiply the following two binary numbers $x$ and $y$ using "grade school" binary multiplication (see notes). $x = 10111_2$ $y = 110101_2$ digit 1 1 1 1 0 1 0 1
Which of the following is not considered a protocol? Select one: XML Hypertext Transport SMTP, or Simple Mail Transfer IP Clear my choice
In public relations, best practices refer to documenting and analyzing the behavior of a leader in the field. O True O False
are massive networks of computer servers running software to coordinate their collective use. a. SaaS b. Server farms c. Supercomputing d. None
Question 4 (1 point) Which architect is quoted as saying "form follows function?" Frank Lloyd Wright Frank Gehry le Corbusier Louis Sullivan
1 ... 2 3 4 5 6