C CODE
Q: LAB WORK How can I check whether the user entered string is palindrome or not? If it is a palindrome...
A: Given: JAVA program to check whether the user entered string is palindrome or not.
Q: Which component is in charge of controlling the computer's other components?
A:
Q: When a buffer is used, what happens to the data it contains?
A: An information technology term for a section of memory used to temporarily hold data while it is tra...
Q: d by more than one person concurrently. This is an example of: Options: A separation of d duties. B ...
A: given - A company requires a task to be carried by more than one person concurrently. This is an e...
Q: 2. Using the binary search tree algorithms discussed in class and alphabetical order: A. Draw the bi...
A: (A)- First we will be having an empty BST. We wil add Matt, it will become root. Now we wil add Zeke...
Q: The deployment of firewall equipment and software is another essential technique of regulating and s...
A: INTRO The question is about firewall and here is the solution in the next step.
Q: Computer Science Program in C++ or Java Simple simulation to estimate your likelihood of winning in ...
A: check further steps for the answer :
Q: Explain what a webcam is. What are some pros and disadvantages?
A: A webcam is a kind of digital video equipment that is often integrated into a computer, Its primary ...
Q: What exactly is optimum performance in computer terms?
A: The Answer is in step2
Q: grayscale image in term of bit depth, colour model being used and allowable colours.
A: given - Theoretically, describe how colour image differs from grayscale image in term of bit depth, ...
Q: Q1/ A- Express the following numbers in decimal? a- (1234567)8 b- (1A.5)16 c- (10110.0101)2 B- Use t...
A: The technique used to work and represent number in computer terms is called as number system. The mo...
Q: Program71.java Write a program that creates a 32-element array of random integers all from 1 to 100...
A: Solution
Q: Hybrid Cloud Storage is a type of storage that can be used with both public and
A: The answer is
Q: What is primary memory and secondary memory?
A: Given To know about the primary memory and secondary memory.
Q: What is the difference between a central processing unit (CPU) and a system unit (SPU)?
A: Introduction: Hardware: In computer science, hardware refers to the various components that a user o...
Q: Convert -123.075 to the floating-point binary representation.
A: The given decimal number is = -123.075 The equivalent binary number is 1111011.00 The above number c...
Q: A:Ao and BiBo are 2-bit binary numbers, output binary number Y3Y2Y Yo (LSB) equals to AAo * B.Bo + B...
A: According to the information given:- We have to design logic circuit using decoder.
Q: Describe characters and strings in java.
A: The answer is given below:-
Q: Write a Java Program to Find Area of Square, Rectangle and Circle using constructor Overloading.
A: Constructors have same name of the class but with number of arguments. Constructors can be overloade...
Q: Convert the expression F = A + B'C to standard SOP form. О АВС + АВС + АВС + АВ'С + A'вс АВС + АВС +...
A: SOP or Standard Sum of products form. In the SOP form, all literals are not supposed to be there in ...
Q: Part III: Combinational Logic Design Question Given F = Im (1, 2, 6, 7) a) Write the corresponding t...
A:
Q: How many trees are there with n vertices that are a simple path?
A: When there are two or more nodes connected with each without forming a cycle is know as tree. There ...
Q: This is a tic tac toe program i made. Help me debug it. This is in c programming. Here is the code:...
A: The game is to be played between two people. One of the player chooses ‘O’ and the other ‘X’ to mar...
Q: In computer science illuminated contains various predictions for the future of computing. Which one ...
A: Introduction:- Computer science is the branch of science which is related to the computer this plays...
Q: Exercise 1: Ask for a birthday, a favorite gift, and their dream job is and display that information...
A: Since programming language was not mentioned so, I chosen PYTHON . I have provided PYTHON CODE ...
Q: Create a view called gl_stdV1 that returns the required data • Create an anonymous block that: o A...
A: Step 1 The answer is given in the below step.
Q: Review Qu Multiple Choice 1. A group of statements that exist within a program for the purpose of pe...
A: Find the answers given as below : We are supposed to answer only first three MCQs repost other MCQs ...
Q: Describe the number of ways we can make a field required in the salesforce. Please just provide the ...
A: Custom field is the universally required field. A value has to be there and is must when the record ...
Q: 2. Suppose you want to interchange the values stored in memory cells 2 and 3. What is wrong with the...
A: : Memory Cell The memory cell is the major structure block of PC memory. It is an electronic circui...
Q: Consider he oloin gagh whch s te lstethon o he Enaryton of cd mesags. The encryphon can be done by p...
A: Hey champ you solution is ready Please check the step 2 for the solution
Q: MATHLAB, please write a script finding the roots of y=sin(10x) + cos(3x) from 0 to 20
A: We need to define the given function and find the root using bisection method
Q: Crate Student class with the bellow information and create three objects of this class in main funct...
A: C++ is a compiled language which follow the concept of oops to make projects. It is used on multiple...
Q: When configuring PPP authentication, you have the option of using PAP or CHAP. Which is the most sec...
A: Your answer is given below
Q: b. Design and reflect on a suitable pipeline technique using which time taken for executing all 3 pr...
A: It is an activity of collecting instructions with the help of processor with pipeline. This would le...
Q: Cryptography involves five important concepts, integrity, confidentiality, authentication, non-repud...
A: ANSWER:-
Q: how can transport matrix
A: The transpose of a matrix is found byinterchanging its rows into columns or columns into rows. The t...
Q: etween
A: 32-bit processorIt is a CPU architecture type capable of transferring 32 bits of data. It refers to ...
Q: Gilbert, Stephen: Sphere Calculator Your name Same length as title Enter the radius of the sphere: 8...
A: C++ Code to calculate volume and surface area of sphere #include <iostream> using namespace st...
Q: QUESTION Using basic gates ONLY, simplify and convert the circuit below. Show all your workings. D-D
A:
Q: In terms of the CE signal, what is the difference between single-byte and burst modes?
A: Difference between single-byte and burst modes are as follows:
Q: Java
A: In Java, we can create our own exceptions by extending Exception class that belongs to java.lang pac...
Q: Suppose a color monitor has a 1600x900 frame size and uses 8 bits for each of the three primary colo...
A:
Q: Individual visual components or dots, known as_, make up monitors.
A: Introduction: Display Devices: Display devices are the output devices used in computer systems to di...
Q: 3- give the difference between who and whos Your answer
A: differerence between who and who's
Q: ing statements are true about the Rapid Application Development (RAD) and the waterfall methods of t...
A: ANS- 1- In SDLC we have 8 models in each one of the eight waterfall is the older one. 2- Only wate...
Q: How do a computer's keyboard, mouse, and hard drive work?
A: INTRODUCTION: Computers are electronic devices that may be used for various tasks. They frequently i...
Q: What exactly is MIPS?
A: MIPS stands for Million instructions per second. It measures the raw speed of a computer's processo...
Q: 2. Write a JAVASCRIPT program to print natural numbers from 1 to 100 in the output and print only 5 ...
A: Write a JAVASCRIPT program to print natural numbers from 1 to 100 in the output and print only 5 num...
Q: Who did Mark Dean tie the knot with
A: Introduction: Mark Dean, a computer scientist, and engineer assisted IBM in developing various groun...
Q: In which modulatio technique is bit rate equal to baud rate? a. ASK b. BPSK c. all of the choices...
A: option D FSK, modulation technique is bit rate equal to baud rate as it generally uses two different...
C CODE
3.22 LAB: Remove gray from RGB Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray). Given values for red, green, and blue, remove the gray part. Ex: If the input is: 130 50 130 the output is: 80 0 80 Find the smallest value, and then subtract it from all three values, thus removing the gray.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- Transcribed Image Text Question 18 D The following question uses a robot in a grid of squares. The robot is represented as a triangle, which is initially facing toward the top of the grid. The following code segment moves the robot around the grid. Assume that n is a positive integer.x=2.9 a=floor(x) b=ceil(x) c=round(x) d=int(x) print(a,',',c,',',b,',',d)In PYTHON Using one of the loop construct draw:- Twenty vertical lines- Each line of length 150 units(or pixels)- All lines aligned at the same top horizontal margin - Lines 10 units apart each other Note- The first line and all lines in odd positions(e.g. 1, 3, 5, etc.)should besolid lines- The second line and all lines in even positions(e.g. 2, 4, 6, etc.)should be dashed lines - - Set the length of solid segment to 10 units - - Set the length of the non-visible segment to 5 units Assumption- Use of Turtle library
- 2- Assume that you are developer for photogrammetry and image processing in a company. You are given a task to develop a method that deals with the objects in a scene. Assume that a camera captured binary images, as shown below. The objects do not overlap or not in contact, but may be close to each other. They can be in any size or shape. Binary image Write the pseudo-code algorithm that automatically counts only the number of objects with hole(s) and the shape of the object is not circle. Also present a block diagram of your algorithm to make easy to understand your answer. If there any, please also define any assumptions you perform in your algorithm (about the size/shape/tone/hole etc. of the object). code!) (No need to implement a pythonA palindrome is a word or phrase that is identical when you read from forward or backward, such as the words “racecar” and “madam.” A standard palindrome is similar to a perfect palindrome, except that spaces and punctuation are ignored in a standard palindrome. For example, “Madam, I’m Adam” is a standard palindrome because the characters are identical forward or backward, provided you remove the spaces and punctuation marks. Write a PHP script that checks words or phrases stored in two separate string variables to determine if they are a perfect palindrome. In addition, see if you can modify the program to check for standard palindromes. create a web page with a text field and “Reset” and “Submit” buttons. When a user clicks on the submit button, show the standard and perfect palindromes of the string that was entered in the text field on the same page. Create a separate Index.html and php fileA palindrome is a word or phrase that is identical when you read from forward or backward, such as the words “racecar” and “madam.” A standard palindrome is similar to a perfect palindrome, except that spaces and punctuation are ignored in a standard palindrome. For example, “Madam, I’m Adam” is a standard palindrome because the characters are identical forward or backward, provided you remove the spaces and punctuation marks. Write a PHP script that checks words or phrases stored in two separate string variables to determine if they are a perfect palindrome. In addition, see if you can modify the program to check for standard palindromes. create a web page with a text field and “Reset” and “Submit” buttons. When a user clicks on the submit button, show the standard and perfect palindromes of the string that was entered in the text field on the same page.
- In PYTHON Using one of the loop construct draw:- Twenty horizontal lines- Each line of length 150 units(or pixels)- All lines aligned at the same left horizontal margin- Lines 10 units apart each other Note- The first line and all lines in odd positions(e.g. 1, 3, 5, etc.) should besolid lines- The second line and all lines in even positions(e.g. 2, 4, 6, etc.)should be dashed lines - - Set the length of solid segment to 10 units - - Set the length of the non-visible segment to 5 units Assumption- Use of Turtle libraryfinal double PlI; PI = 3.14; System.out.println(PI); displays %3D 3.14 an error OccursBinary – Decimal – Hex Converter: Create a program that will take any number in either decimal, binary or hexadecimal and convert it to the remaining two of the three given numeral systems. Use the process outlined in the slides to determine the conversion. You cannot use the int() function to convert the numbers.
- Q15. * After performing the operations: dequeue(), dequeue(), enqueue('S'), the value of Front becomes ........ 4 O 1 O 3 O 2 0 E Front 1 X 2 A 3 M Rear 4Discrete Mathematics: Assignment details: Replace all the 0 (Zero) digits in your ID by 4. Example: If your ID is 38104680, it becomes 38144684 Take the first 6 digits and substitute them in this expression (( A + B) / C) * ((D-E)/F)-2) according to the following table; Letter Replace by Digit Example Digit A 1st 3 B 2nd 8 C 3rd 1 D 4th 4 E 5th 4 F 6th 6 After substitution your expression will be similar to this (( 3 + 8) / 1) * ((4-4)/6)-2). Draw a rooted tree that represents your expression. What is the prefix form of this expression. 3.What is the value of the prefix expression obtained in step 2 above?An 8-puzzle game consists of 8 sliding tiles, numbered by digits from 1 to 8 and arranged in a 3x3 array of nine cells. A configuration in the puzzle refers to some specific arrangement of the tiles in the array, where each digit is arranged into a different cell. One of the cell is empty (represented by a "*") and any adjacent tile can be moved into the empty cell. An example below c | 1 | 2 | 3 b | 4 | * | 5 a | 6 | 7 | 8------------------ Y/X a b c We use a 3-tuple (number, X, Y) to represent the position of a digit, where number is the actual digit, and (X,Y) is the coordinate value of the digit in the current configuration (e.g., in the configuration above, we have (5,c,b), meaning the digit 5 is at the position of (c,b)).Hence the configuration in the example can be represented as:[(1,a,c), (2,b,c), (3,c,c), (4,a,b), (5,c,b), (6,a,a), (7,b,a), (8,c,a)].Any move of an adjacent tile into the empty cell moves the current configuration into the one adjacent to it.…