Write the swift code that will: 11A. Create a new mutable array named QUES11 and store the following COURSE NAMES in this array. The SIX COURSE NAMES are: CIS 157 CIS 220 CIS 227 CIS 150 CIS 255 CIS 251 11B. ADD an additional address into this array **but between the CIS 227 and CIS 150 INSERT the following COURSE NAME: The COURSE NAME is: CIS 263 11C. PRINT all of the Addresses that have been added to this array
Q: Request iteration in DNS, the difference between authoritative and root servers, and the format of…
A: Introduction: Iterated and non-iterated requests, authoritative and root servers, and DNS records…
Q: How integral do you think computers are to your everyday life?
A: Introduction: Given that technology permeates practically every part of modern life, it is…
Q: You are a forensic examiner for a large corporation. An employee is suspected of mishandling company…
A: :: Solution:: determine the appropriate disciplinary action.
Q: This is for Python. Now create a new file named MSPaint_PA51 in your IDLE. Find an image on the…
A: Python is a dynamically typed programming language. Python is an object-oriented and structured…
Q: Why do we use a variety of visual tools, and what do we hope to accomplish with them? Give an…
A: Intro Visual aids may take the form of anything from static images like photographs or diagrams to…
Q: Problem 3 ( Parallelizable programs are typically accelerated by a factor of 100 on a GPU with 2,000…
A: Introduction The activities that a program must complete can indeed be divided into smaller,…
Q: Naming the various parts of a high-level programming language allows for their easy identification
A: Answer : High level programming language like python , javascript. The main elements of high level…
Q: Authentication is used for many reasons; are you familiar with some of the most common ones? What…
A: 1) Authentication is the process of identifying an individual process or entity that is attempting…
Q: An IP fragment with 100 bytes of data (not including IP header) is received with the following…
A: - We need to choose the original data length here.
Q: Clearly define the key differences in functionality between object-oriented and procedural…
A: Procedural language: A computer programming language that processes instructions in order.…
Q: If a data breach occurs on the cloud, do you think anything can be done to fix it? Do you have any…
A: Yes, it has an impact. A data breach allows an unauthorised person access to confidential,…
Q: The names, locations, and contact information for 10 internationally recognized individuals in the…
A: The World of Computer Science and Information Technology Journal (WSCIT) is a journal that publishes…
Q: When compared to not knowing how to use a computer, what are the advantages of computer literacy?…
A: Since technology is being used more and more in the workplace, it is important to have a strong base…
Q: What is the runtime of the below code? 1 void printUnorderedPairs(int[] array) { 2 for (int i= 0;…
A: runtime of the given code is ON2 explaination given in next step
Q: Please classify the following hardware components. Definition of Operating System (such as MS-DOS)…
A: MS - DOS: - MS-DOS stands for Microsoft Disk Operating System and is also known as Microsoft DOS was…
Q: What is the main difference between a linear and a non-linear algorithm? Provide examples
A: Main difference- In the linear data structure ,the data elements are arranged linearly or…
Q: What are the different types/classification of microcontroller? Give examples and brief…
A: Microcontrollers are classified based on various factors, including the type and size of their…
Q: Provide a summary of, and explanation for, the wide variety of preventive steps that may be taken…
A: Phishing is a type of fraud in which a criminal uses email or other forms of contact to pose as a…
Q: QUESTION 23 According to Nyquist–Shannon sampling theorem, the sampling rate should be ............…
A: As you have posted only question 23 so I solved it.
Q: Why is it beneficial to learn about the origins of computers, the inner workings of computer…
A: One of the most significant inventions of the 20th century is the electronic computer. Computer,…
Q: Put DNS data into sensible categories. Provide a brief paragraph explaining the context of each…
A: In order to answer the questions, you must: List the different DNS record kinds and provide…
Q: Write a program in VBA that will the average of five test scores and then find the appropriate…
A: “Since you have asked multiple questions, we will solve the first question for you. If you want any…
Q: Differentiating between an isochronous and synchronous connection may be done by looking at their…
A: Connection that is asynchronous: Data is sent from one end of the connection to the other during…
Q: building your I/O system which I/O architecture
A: Dear Student, The answer to your question is given below -
Q: Write a partition function of a dynamic array. the first element of the array should be the pivot.…
A: We need to write a partition function of a dynamic array with the first element of the array should…
Q: Can this be converted to python please?
A: Please refer to the following step for the complete solution to the problem above.
Q: Im taking a web development course and I built a project and was told to publish it . I tried to…
A: Yes, when you are using node.js sometimes because of its large in size we are unable to publish it…
Q: H.W A) Slides can be inserted from ____ and ____ . B)7. Notes can only appear to ________ in…
A: Solution:-
Q: Recursive Max! Write a recursive function rc_max(L:List[int]) -> int that takes a list L and returns…
A: Step-1: StartStep-2: Function rc_max(L) Step-2.1: Declare variable length and initialize with a…
Q: List three (3) benefits of adopting this technology, as well as the generic term for the kind of…
A: Barcode scanners: It scans the black and white elements of a barcode by illuminating the code with…
Q: Compilers and assemblers can rearrange assembler instructions to reduce pipeline risks as much as…
A: The hardware does not allow some instruction combinations (two instructions in the pipeline require…
Q: In many ways, portable computers and mobile devices seem to be different. If you want to win an…
A: The most obvious difference between a cell phone and a computer is their size. Cell phones are much…
Q: which of these registers points to the next instruction to be executed Group of answer choices EAX…
A: Dear Student, The answer to your question is given below -
Q: When the processor receives an interrupt, it suspends whatever it was performing to deal with the…
A: Given: An external procedure that needs to be finished is denoted by the word "interrupt." The…
Q: imize the CPU time wasted by concurrently executing several instructions? Which steps in this…
A: Introduction: The timer device, the related timer interrupts, and scheduler OS code are used to…
Q: What is the signal to send through the medium if the sequence of bits to carry is 1110010101
A: Manchester encoding is a method of encoding digital data in which the data bit to be transmitted is…
Q: Request iteration in DNS, the difference between authoritative and root servers, and the format of…
A: Introduction: This comprehensive explanation of how the Domain Name System (DNS) works provides a…
Q: 4 double Kilo ToPounds (double kilos) { 5 // This statement intentionally has an error. 6 return…
A: Coded using C++.
Q: Clearly differentiate between the two types of programming anguages, procedural and object-oriented.
A: It is described as a structured programming language that is built on calling procedures. The…
Q: The proliferation of telephones has prompted a range of societal responses.
A: The proliferation of telephones has had a wide range of impacts on society. In terms of…
Q: ending from 2 days solve asap.
A: According to the information given:- We have to follow the instructions in order to get the desired…
Q: Given the state diagram as follows, get the sequential circuit using A. SR flipflop B. T flipflop 01…
A: Answer-B :- T flipflop Function Table Characteristic Table of 'T' flip flop
Q: Regarding data protection, how does ransomware function?
A: Data protection is a set of strategies and processes you can use to secure the privacy, availability…
Q: What is the difference between linear_search(O(n)) time complexity, and binary_search(O(nlog2n))…
A: Solution:- Linear search:- Linear search is a search algorithm that finds an element in the list by…
Q: Write a section of Python code (not an entire function) that adds up the even numbers from 2 through…
A: Step-1: Start Step-2: declare variable x and assign value 2Step-3: declare variable total and assign…
Q: Which of the following is NOT one of the characteristics of algorithms? A. Algorithms must be…
A: An algorithm is a set of instructions or steps that can be followed to solve a problem or accomplish…
Q: Define the differences between the user interface and the user experience, Note the most efficient…
A: Designing a website's visual style is the job of a user interface designer. The term "user…
Q: Define a function drawCircle. This function should expect a Turtle object, the coordinates of the…
A: Solution to the given question Algorithm 1. Import math and turtle libraries 2. Define function…
Q: Write a loop that sets newScores to oldScores rotated once left, with element 0 copied to the end.…
A: I give the code in C++ along with output and code screenshots
Q: Make a document detailing the various DNS records, labeling each one with the sort of record it…
A: When establishing Content Delivery Networks, the CDN's address is often added as a CNAME record to…
Question 3
in swift
11 Write the swift code that will: 11A. Create a new mutable array named QUES11 and store the following COURSE NAMES in this array. The SIX COURSE NAMES are: CIS 157 CIS 220 CIS 227 CIS 150 CIS 255 CIS 251 11B. ADD an additional address into this array **but between the CIS 227 and CIS 150 INSERT the following COURSE NAME: The COURSE NAME is: CIS 263 11C. PRINT all of the Addresses that have been added to this array. ....
Step by step
Solved in 2 steps with 2 images
- Please assist with Java coding (Netbeans) Create a two-dimensional array to contain the three different MCSD Marks (JD521, PRG521, and IP521) for six different students. A single array must be used to store the student names (Maxwell, Carl, Gerhard, Paul, James, and Cena).Allow a user to enter in a number, ranging from 1 to 6, which will represent the student position in the table MCSD max. The program can only stop when the user enter a number greater than 6.Printout the student name including the JD521, PRG521, and IP521 max, the total of marks and the average of all marks. Use a condition statement to decide that the student has passed or not (Pass rate is 70).1 Snapchat .ll LTE 4:00 PM © 1 20%O Write a function named BusStatistica(), that takes as parameter a two-dimensional array named bus of size 4x5. By referring to the given Figure, the rows in the array bus represent the bus routes and the columns represent the days that the buses run. The numbers in the slots of the array show the number of passengers that were on a given route on a given day. The function will perform the following: Mon Tue Wed Thu Fri 4 1. For each route, print the total number of passengers. 8 12 7. 10 2. For each route, find and print the largest number of passengers. 3. For all routes and all days, find and print the largest number of passengers. 1. 7. 3 4. 20 15 18 31 14 3\ 6 9. 11 RoutesWrite the resize function for the dynamic, partially-filled array below. Follow the comments to complete the function. dynamic.cpp 1 #include 2 #include 3 #include "debug_new.h" 4 #include "array.h" 5 using namespace std; 6. 7 /** Resize a dynamic chunk of memory. @param arg a pointer to the beginning of the array @param size the current allocated size @return a pointer to an initialized 2x chunk. 10 11 12 */ 13 int* resize(int* a, int size) { 14 15 // Allocate a new array twice the size of the original 16 // Copy the original elements into the new array // Free the original array // Return the new array 17 18 19 } 20 int main(int argc, char* argv[]) 22 21 { 23 int size = 0; int capacity = 2; // initial capacity is 2 int *a = new int[capacity]; 24 25 26 27 cout « "Enter positive numbers (negative to quit): "; int n; cin >> n; while (n >= 0) { if (size { a = resize(a, size); // Write this function capacity *= 2; 28 29 30 31 32 == capacity) 33 34 35 36 37 a[size] = n; 38 cin >> n; 39…
- An array is a collection of similar data elements stored at contiguous memory locations. It is the simplest data structure where each data element can be accessed directly by only using its index number. The following is an array of unsorted numbers called NumArr. NumArr: 24 56 78 79 34 75 2 23Write the procedure called Kstrcpy with the following comment block. Source array of characters // Given: // Task: // Return: destination array. Kstrcpy should work the same as strcpy. example Kstrcpy (destination, source) ; **** Copy the source array to the destination array. Write the function called Kstrlen with the following comment block. // Given: (Array of characters). // Task: // Return: length Kstrlen should work the same as strlen. example len = strlen (firstname); calculate the length of the array of characters ***************** // Given: Write the procedure called Average_Sum with the following comment block. (Array of integers) and (number of elements in the array). // Task: Compute the Average and the Sum // Return: Average and Sum Example Input: Input name -> Fred Input number 1 -> 10 Input number 2 -> 20 Input number 3 -> 30 Input number 4 -> 40 Input number 5 -> 50 Example output: Copy of your name Fred. Length of your name 4. The sum of your numbers (150). The average…Blackboard c ++ B Jlgw Write a function named BusStatistics(), that takes as parameter a two-dimensional array named bus of size 4x5. By referring to the given Figure, the rows in the array bus represent the bus routes and the columns represent the days that the buses run. The numbers in the slots of the array show the number of passengers that were on a given route on a given day. The function will perform the following: Mon Tue Wed Thu Fri 1. For each route, print the total number of 3. 4 passengers. 8 12 10 2. For each route, find and print the largest number of passengers. 3. For all routes and all days, find and print the largest number of passengers. 3 1 4 20 15 18 31 14 11 6. Routes
- Use C language ,Create a multi dimensional array array that will store:– Row 1: Index number of 5 students– Row 2: the height of the 5 students– Row 3: weight of the same 5 students– Row 4: the BMI of the 5 students• Get input from user to fill the array• Calculate the BMI for all the students, store in row 4.• Display the content of the arrays in a table as below:Question 1 Assume that arrX array is already defined and allocated in memory, its base address 0xabcd3000 and already stored in $a2 and its number of elements in $a3. Answer each of the next questions as required. arrX: .word 0x99,0x20,0x73,0x40,0x50,0x69, ... Please write question numbers and answer parts in this question in order. Q1) The fourth element of arrX is located at HEX address ___________ Q2) Write one MIPS instruction to copy into $t9 the value of the fourth element of arrX: ___________ Q3) Write one MIPS instruction to calculate $t0 = 32 * fourth element: __________ Q4) Write NO more than 3 MIPS instructions to decrement the fourth element of arrX: __________ Q5) Write no more than 6 instructions to calculate $v0= first element - last element in arrX.Programming Language: C++ Please output it in the console not a text file. For this exerc ise, you will define a struct. It will contain a first name, last name, ID, and GPA. You will ask the user how many students to enter, create a dynamic array of that size to get data from the user. The array data will initially be inserted into the array in ID order. Then you will display the array in a table, sort it by last name with std::sort, redisplay it, and then search for five students (using last name and a binary search) and for any names found display the first name, last name, and GPA, The struct will be named Student and include strings for firstName, lastName, ID, and a float for the GPA. The ID will be in the format 00xxxxxx where the x's are replaced by digits and in the range between 111111 and 999999. The GPA will be a floating-point number in the range 2.0 to 4.2 and will be displayed to 2 digits after the decimal point.
- Assignment Write a program that reads a 2D array of chars, checks, and corrects each char within this array, and print out the corrected 2D array. First the program will read the row count (rowCount) and column count (columnCount) of the 2D array, both as int values. Then, the chars constituting the 2D array will be read on a row-by-row basis. After reading the 2D array, the program will check and correct each char within the 2D array according to the rules below. This process MUST be done by using a void function by sending the appropriate cell of the 2D array with a call-by-reference fashion. • If the row index is an even number, a char can only be a lowercase English value. • If the row index is an odd number, a char can only be ?, 7', or X'. • Any incorrect value MUST be changed into Finally, the checked and corrected 2D array will be printed out to the screen. NOTE: Checking the correctness of a char and correcting it (if necessary) MUST be done in the function with a…Write a code segment that displays the items in a three-dimensional array. Each line of data should represent all the items at a given row and column, stretching back from the first depth position to the last one. The traversal should start at the first row, column, and depth positions and move through depths, columns, and rowsSoftware: sim8085 Write 8085 program in which the size of array is stored at 2000H and array elements are stored starting from location 2001H. Print all the even numbers in the array starting from location 2020H. Attach memory view and editable code.