B) Write a PYTHON script to enter a value of S (between 1 and 3) entered values of X then find and print the following: for 60 1- Sum of the entered numbers between 6 and 60 (if S = 1) 2- Sum of positive numbers (if S=2) 3- The number of numbers that are divisible by 4 (if S =3)
Q: Write a line that calls the Copier object's method called makingCopies. The makingCopies method has…
A: Solution: Given, Write a line that calls the Copier object's method called makingCopies. The…
Q: a c++ program that prompts the user to input a value for n. Based on the value of n, your program…
A: Please find the answer below :
Q: las that made use of both relative and absolute addresses. Give an example of a relative address and…
A: Description: 1- There are sorts of cell references: relative and absolute. 2- Relative and…
Q: 3. Consider the activity selection problem as discussed in class where we are given n intervals (21,…
A: Given: A Greedy Algorithm to find maximum number of pairwise disjoint intervals. To Find: To…
Q: Suppose we are given two sorted search tables S and T, each with n entries (with S and T being…
A: Answer: We have explain how to search kth element of two sorted array S and T where finding the kth…
Q: Define a twice-change Turing Machine (TCTM) as one that can alter each tape cell at most twice. Show…
A: A Turing machine with a maximum of twice-change capability is known as a "twice-change Turing…
Q: Write a expression ( statement a) result y 180 + 2z b) R = cos x + nr² to c) answer = √b + cd² sin X…
A: Here is the c program of the above problem. See below steps.
Q: Explain why Remote access Security is important in software security?
A: Remote access Security:- In order to avoid unwanted access to a company's digital assets and the…
Q: What was the brand of the non-free Linux firewall mentioned in the presentation, and how would you…
A: Introduction: What are the advantages and disadvantages of using a serial bus instead of a parallel…
Q: Java method only please. Thank you! Write a method named swap that accepts two integer arrays as…
A:
Q: a) T(1) = 0, T(n) = n +2T(n, b) T(1) = 2, T(n) = n + T(n, c) T(1) = 1, T(n) = n + T(n-
A: Solution - In the given question, we have to give the exact solution of the given recurrences.
Q: Why do hash table collisions happen, and what can be done to prevent them? When and why did this…
A: The question is solved in step2
Q: Which programs do host software firewalls often employ? Explain
A: Firewall:- The monitoring and filtering of incoming and outgoing network traffic by a firewall, a…
Q: One of the most major advantages of multiprocessor systems is the increased flexibility they may…
A: Introduction: Two-dimensional materials offer the advantage of flexibility, which means that they…
Q: create a program in dev c++ that enters a roman number between 1 and 999 and displays the number in…
A: About C++ : Applications with great performance can be made using the cross-platform language…
Q: Write a java program that perform arithmetic on two numbers such as 3124567890 and 3124567898, and…
A: The program is written in Java. Check the program screenshot for the correct indentation. Please…
Q: Why is it not possible to implement the multiple inheritance in Java? How do you solve that problem?
A: Given To know about the multiple inheritance in jave.
Q: What changes and improvements has each new generation of networking technology seen, and what are…
A: First-generation is 1G: Mobile phones may utilise it as a carrier. Improve voice readability. The…
Q: Is there a distinction between logical caching and physical caching when it comes to caching, and if…
A: Introduction: All process has its own page table, which keeps track of the frame number…
Q: Do you agree with Mukherjee that sustainable futures may be built on a human rights-centered…
A: Introduction: Physical Sciences study natural occurrences. Then a math model is constructed. If…
Q: After updating the BIOS on my laptop, I discovered that even though everything was receiving…
A: The question is after updating the BIOS on my laptop, even though everything was receiving…
Q: Examples may be used to distinguish between scalar and superscale CPUs. The complexity of…
A: Introduction: Scalar processors work with one piece of data at a time, whereas vector processors…
Q: TODO Create the function add func to complete the following TODO (). Create the add func()…
A: I have provided PYTHON CODE along with CODE SCREENSHOT and OUTPUT SCREENSHOT----------------
Q: Problem 4 (Count words) Write a program called p4.py and add a function named words_and_sents() to…
A: Please find the answer below :
Q: speeds of a computer system's different storage devices should be specified in order of fastest to…
A:
Q: Why are all messages sent across a network not encrypted? Provide at least three reasons in your…
A: Introduction Encryption: Data can be scrambled using encryption so that only authorized parties can…
Q: Please please answer the question of the microcontrollers What is top-down design/bottom-up…
A: In top-down approach the major problem or event is taken, which is broken into smaller ones and…
Q: What is your realization about the functionality of the Universal Shift register? Expound on your…
A: Solution1- Introduction- Shift registers are sequential logic circuits that can briefly store data…
Q: When a video monitor stops showing any signal, what may be the likely causes
A: Introduction When a video monitor stops showing any signal, what may be the likely causes?
Q: Modern technology advances have made it possible for almost all household appliances to communicate…
A: Introduction: You may streamline your operations, increase productivity, and gain a competitive…
Q: 3. For Loop Quiz by CodeChum Admin Write a program that accepts a positive integer, n, then prints…
A: The above question is solved in step 2 :-
Q: Write the class definition for a class named Copier that is inheriting a class named Printer. This…
A: In Java, inheritance is a way for one object to get all the properties and actions of a parent…
Q: The phrase "cathode ray tube," or simply "cathode ray tube," refers to the kind of display that is…
A: Introduction: The discussion is about the cathode-ray tube display, which is often used in desktop…
Q: I was hoping you might provide some light on the principles of how a cache hierarchy is built and…
A: Introduction: The L1 cache is the fastest computer memory. The L1 cache retains data the CPU is most…
Q: A function that returns a new instance of an object without directly modifying the passed in…
A: accessor function- This function is used for accessing the state of the object, i.e. accessing the…
Q: When designing a reliable open hash table, you should keep the following in mind:
A: Introduction Hashing: A technology named hashing is used to identify a particular object from a…
Q: Why does SMF move further and quicker than MMF?
A: Single mode fiber (SMF) has slender center of 8 to 10 microns in diameter. Profoundly and reflects…
Q: What form of scanning may locate Telnet on a server?
A: The answer to the question is given below:
Q: What, if any, distinction can be seen between logical caching and physical caching?
A: Each process maintains its own page table, which contains the frame number for the corresponding…
Q: Is the language composed of all strings over the alphabet {a,b} that contain an odd number of a's a…
A: regular language accept odd number of a's
Q: Consider how the internet has evolved through time, as well as the present technological foundations…
A: The solution to the given question is: According to the question , the internet emerged in the 1960s…
Q: Put the code in but this came up:
A: Coded using Python 3.
Q: listing the many resources that may be accessible through cloud computing, an explanation of how…
A: Solution- After listing the many resources that may be accessible through cloud computing, an…
Q: Converting decimal into binary: write an iterative function that takes one positive integer n and…
A: The above question is solved in step 2 :-
Q: Which poses a greater threat to network traffic: compromise of a routing device or compromise of a…
A:
Q: (d) Using the IF function, write a formula in J6 to display "Yes" if the activity is critical and…
A: (D) Answer: Formula: =IF(I6=0,"Yes","No")
Q: Write a program called ListOddNumbers that prints the below (there is a single space between each…
A: Introduction For many years, one of the most utilized programming languages has been Java. Java is…
Q: Question 2 As a computer manufacturer, you are faced with the challenge of designing quality…
A: 1. Mechanism to produce good speed computers with affordable cost. A) In Memory we can introduce…
Q: What are the needs for information security?
A: System of Information: Information systems are interconnected pieces of software that gather,…
Q: Write a C++ Program that does the following: Implement a sort function using a vector. Ask the user…
A: C++ INTRODUCTION:- C++ is a powerful object-oriented programming language that enables developers to…
Step by step
Solved in 3 steps with 1 images
- psueducode of any task that you usually do like this ExampleTask: create CCS 102 session lessonSteps:1) Get topic from the lesson outline2) Find some resources/ references3) If there is a very good video resource from Youtube thendownload the videoelseCreate an outline of the discussionCreate the Powerpoint presentationCreate a script based from the slides of the presentationRecord the presentation with narrationCreate a video of the presentation4) If video is too largeCompress the video5) Post the video as a material in Google ClassroomC Sharp, having an issue with the spin button and displaying the images. See Pics using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using System.IO;using System.Net.Http.Headers;using System.Web; namespace Slot_Machine{ public partial class Form1 : Form { //Create a Random object Random rand = new Random(); //Create an image[] = the URL to the images. private Image[] images = new Image[] { Image.FromFile("C:\\Users\\shari\\OneDrive\\Desktop\\Friut\\Apple.bmp"), Image.FromFile("C:\\Users\\shari\\OneDrive\\Desktop\\Friut\\Banana.bmp"), Image.FromFile("C:\\Users\\shari\\OneDrive\\Desktop\\Friut\\Grapes.bmp"), Image.FromFile("C:\\Users\\shari\\OneDrive\\Desktop\\Friut\\Cherries.bmp"),…this pdf file was converted from text document. i did this in order to put here so you can convert this pdf to .txt format and read with f.readlines() command. extract the necessary data from file and i want you to write code process which extracts data file:///C:/Users/abdul/Downloads/SodaPDF-converted-badDataFile.pdf
- pls check if my unix answers are correct and provide corrections if necessary(commas separate the commands) Move cursor to the last line of the file with one key: G Use one key to move cursor to bottom line of screen: L Move cursor to line 32 with three keys: <32>G Turn on/off line numbers: :set nu , :set nonu Forward/backward one page: ctrl-f , ctrl-b Join the current line with next line: J Replace the whole current line with “abc” with five keys: Append text “abc” at the end of current line: A You just deleted one line by accident. Undo this with one key: u Delete next six lines including current line with three keys: 6dw Delete from cursor to the rest of current line with one key: D Save your changes without quitting vi: :w Delete next five lines from current line and paste them back at the end of the file: 5dd, p Delete next seven characters from cursor with two keys: 7x Swap current char with the next one with just two keys: r<c> Temporarily leave vi as a background…$ python3 extractfiles.py cpp.zip "^[Cs].*" What does highlighted part mean? I need to extract files that start with 'C' and 's'. How do I do this with this input? I feel like this is some weird terminal syntax.Regex, APIs, BeautifulSoup: python import requests, refrom pprint import pprintfrom bs4 import BeautifulSoup complete the missing bodies of the functions below: def companies(website):"""Question 6- Acces the table at the provided website:'https://en.wikipedia.org/wiki/Companies_listed_on_the_New_York_Stock_Exchange_(C)'- Parse through it and retrieve the names of all companies in the site that~ Are based in the US~ Have an acronym anywhere in their name~ (Let us define 'acronym' as any two or more consecutive capital letters)Args:string (website)Returns:list (list of company names)>>> web1 ='https://en.wikipedia.org/wiki/Companies_listed_on_the_New_York_Stock_Exchange_(C)'>>> web2 ='https://en.wikipedia.org/wiki/Companies_listed_on_the_New_York_Stock_Exchange_(T)'>>> companies(web1)['CACI','CAI International, Inc.','CARBO Ceramics Inc.',...'CYS Investments, Inc.']>>> len(companies(web1)) 27>>> len(companies(web2))23"""pass…
- cs count =10for item in $*doecho $count $itemcount='expr $count -1'done what is the time giveintroduction to unixThis needs to be done in powershell and I feel clueless. Please help. PowerShell Lab Directions: You have been given a zip file containing several subdirectories and within each subdirectory is a PDF and an image file. Your task is to write a script that will move all the PDF files into a directory called PDF and the images into a directory called images. Your script should create the top level folders (images and pdf) and move all the files. Hints: Move-Item can be used to move files/folders Write-Output($variable) can be helpful in debugging Need to Submit: your completed PowerShell script as a .ps1 file a screenshot of your successful program output CSV File: CSV file to go on is posted here fname lname phone email Jennifer Jackson 356-4780-91 Jennifer.Jackson@company.com Brenda Anderson 467-9326-03 Brenda.Anderson@company.com Isaiah Rose 071-7022-71 Isaiah.Rose@company.com Brittany Jordan 241-3146-67 Brittany.Jordan@company.com Shirley Obrien 463-1168-32…Octave/Matlab: How do I read a directory and look for the .csv extensions and then plot the contents? Each of the files have 2 lines I must skip and any other lines that contains characters. I want to plot the first column against the third column. I wrote my own code but Barteby will not allow me to copy it here. Each of the files look like this: first second thirdfourth fifth sixth1 2 34 5 67 8 9 data complete
- What is a computer file? What does it mean by file format? What is the file extension used for? Given the following files, what each file extension means? a) Game1.exe b) Accounting.hlp c) Resume.doc d) Mypage.htmlComputer Science xxi :- please complete t{<React.Fragment> <Draontext onDragEnd={() => {}}>{null}</DragDropContext> {/* $ExpectError onDragEnd is required */} <DragDropContext>{null}</DragDropContext> {/* $ExpectError children is required */} <DragDropContext onDragEnd={() => {}} /></React.Fragment>;} // Droppable{<React.Fragment> <Droppable droppableId="">{() => null}</Droppable> {/* $ExpectError droppableId is required */} <Droppable>{() => null}</Droppable> {/* $ExpectError droppableId must be a string */} <Droppable droppableId={3}>{() => null}</Droppable> {/* $ExpectError children as function is required*/} <Droppable droppableId="" /></React.Fragment>;} // Draggable{<React.Fragment> <Draggable draggableId="" index={0}> {() => null} </Draggable> {/* $ExpectError draggableId is required */}…Computer Science Import data from anywhere by using Web Scraper and save data in a .csv file. By using google meet/Zoom/any media, record you’re your entire process with your voice. Preserve the recorded file, .csv file in the same folder where you have preserved the excel file for other questions. Rename the recorded file name with your ID and question number. Don’t forget to upload the .csv file. File name should be Your_ID_Question_number.csv.