Build NASM programs for the following questions 1. Write a program to check whether a string is a palindrome or not
Q: Write the polynomial function, which takes a list of tuples and returns the polynomial function corr...
A: Write the polynomial function, which takes a list of tuples and returns the polynomial function corr...
Q: Read two numbers from user input. Then, print the sum of those numbers. Hint -- Copy/paste the follo...
A: logic:- two add two variables use + in between both of them and display the result.
Q: The Z-pattern layout is typically used on pages that are not content heavy. Its design mimics the ro...
A: (a). Answer: A Z-Pattern design traces the route the human eye travels when they read left to right,...
Q: Create a SQL statement that will replace all entries in the SupplierID property of the Products tabl...
A: Introduction: A SQL statement is a collection of instructions that includes identifiers, parameters,...
Q: (b) The memory unit of a computer has 256K words of 32 bits each. The computer has an instruction fo...
A:
Q: Create a Vehicle class (Activity1.java), include Create 2 properties: make - String, mileage - doub...
A: Please refer below for the code according to constraints provided by question: I have assumed make v...
Q: Consider the following graph: Draw the DFS and BFS spanning trees for the above graph starting from...
A: Breadth-First Search(BFS): In BFS we explore the adjacent nodes first and then we explore the childr...
Q: QL Help I need to create a PL/SQL trigger called aprove_rental that will prevent an INSERT if a clie...
A: Code create table client (client_num char(4), client_lname varchar2(15) not null, client_fname varc...
Q: What is data mining and how does it benefit you? What are some data mining tasks that you might writ...
A: Step 1) Data mining : Data mining refers to extracting knowledge from large amount of data The pro...
Q: True or false 10. To express decimal to percent we simply move the decimal point two places to the r...
A: Decimal numbers are floated value which contains values in decimals.
Q: Write a program that prompts the user to enter the weight of a person in kilograms and outputs the e...
A: Given The answer is given below.
Q: Using C language, trace this:
A: The major difference between the pass by value and pass by reference is that in case of pass by valu...
Q: yee number, in,
A: These two csv files are required for the working of the program. One contains information about empo...
Q: Let, the time complexity of each of the following code snippets be T(n). Find out a tight bound for ...
A: Lets see the solution.
Q: Write a program whose input is two integers. Output the first integer and subsequent increments of 5...
A: Note: I am using python to solve the above problem. Code run successfully as above problem describe....
Q: java programming Create a class called Citizen with the following attributes/variables: a. String c...
A: As per our guidelines we are suppose to answer first three sub question. Kindly repost other questio...
Q: Given the machine code, identify the instruction line or command line. Use CAPITAL LETTERS . No spac...
A: SUMMARY: - Hence, we discussed all the points
Q: Describe the idea of Shellsort and how it works, show how Shellsort sorts the array 66 33 42 65 87 ...
A: INTRODUCTION: In the given problem statement, we are asked to describe the idea of Shellsort and how...
Q: Long arith(long x,long y,long z) { |long t1=x+y; long t2=z+t1; Long t3=x+4; long t4=y*48; Long t5=t3...
A: Answer is given below:
Q: What is the virtual key symbol for the Right Ctrl function key?
A: Answer:
Q: When the target string includes a digit, what occurs in the Str ucase method from Section 9.3?
A: Solution !! Str_ucase procedure The Str_ucase procedure is used to convert a string to all upperca...
Q: Explain to me how to implement a generic linked list from scratch (Java) step by step (note: do not ...
A: Linked list : It is an ordered set of data elements, each containing a link to next link. Steps of ...
Q: PCH; OH_ Y CH;OH PcoP y coy p²
A:
Q: describe 2 advantages of using higher level socket compared to lower level of the network stack
A: advantages of using higher level socket compared to lower level of the network stack
Q: using python: call each single function in the “statistics” module using three different lists
A:
Q: What is an operating system? a) collection of programs that manages hardware resources b) system ser...
A: Please find the answer below :
Q: Explain what is a "Resource" in a REST
A: REST architecture treats every content as a resource. These resources can be Text Files, Html Pages,...
Q: The screen buffer's dimensions may be changed by using which Win32 function?
A: SetConsoleWindowInfo()
Q: Eed en there heat meeded Gvene siem a reter17260o/24 ahere 0ere he lest igie yatent O Five sepertmen...
A:
Q: In this program write in pseudocode Thankyou.
A: This looks like a game where we have to guess the answer for a multiple choice question and it repea...
Q: Four criteria were defined for comparing search strategies: completeness, optimality, time complexit...
A: Depth First Search(DFS) as the uniform search. In the visit of all the vertices as the always as the...
Q: Each year, almost 20,000 of children are rushed to the hospital with injuries related to playground ...
A: The safety of children on playgrounds in the neighborhood is a significant concern.
Q: code should be in python: I need the user who's running the code to pick a game from 1 to 5 and the...
A: Python: Python is a general purpose programming language developed by Guido Van Rossum in 1989. Pyth...
Q: Create a question with the topic Functions (Continuity and inverse of a function),
A: Continuity and inverse of a function
Q: Write a Java program that interacts with a user to process information retrieval queries, First, pro...
A: Given Write a Java program that interacts with a user to process information retrieval queries, Firs...
Q: 1. What are word embeddings? Explain. 2. What are sentence embedding? Explain. 3. Differentiate them...
A: Word Embeddings: Word embeddings are a sort of artificial intelligence (AI) that allows machines to ...
Q: a) explain backtracking, with examples, advantages and disadvantages of backtracking b) Back tracki...
A: Ans a) Backtracking is the algorithm that is the brute force algorithm that is based on the construc...
Q: In this question don’t change code, just in python postgreSQL but solve the question and follow the ...
A: .!/usr/bin/env python from operator import itemgetter import sys currentword - None current_count - ...
Q: Create a function that prints converts the light sensor into 3 (equal range) categories based on the...
A: creating a function to 3 equal range category The advantages of simulating real-time events have bee...
Q: The student wishes to make the code work and display as follows: List List 1: · BB218 · Internet in ...
A: python code for the following above list displaying
Q: How many comparsions would be needed for merge sort algorithm for these 3 types of arrays and all of...
A: The number of comparisons is 6*log26 - 5
Q: reate table queries CREATE TABLE Students( StudentID INT NOT NULL PRIMARY KEY, LastName VARCH...
A: In questions with many questions we must answer 1. Since we do not have data to compare with we are ...
Q: Linux Q6: What does the following command generate? g++ myapp.c a) myapp b) myapp.exe c) a.out d) No...
A: g++ myapp.c generate myapp.exe file.
Q: The console output port to display characters The keyboard input port to read characters 1) Please p...
A: There are certain properties of ARC processor: It is designed with a LOAD/STORE architecture, which ...
Q: Which of the following commands inserts an integer operand into ST(0)?
A: Introduction: The FIELD (Load Integer) instruction converts an integer operand in memory to extended...
Q: Reg NAND Res3 3Res a
A: NAND gate Not gate is applied on and gate For example: X and Y are inputs Nand gate is applied on it...
Q: Write a java program to calculate the following: Check whether the given number is prime no or not, ...
A: INTRODUCTION: In the given problem, we are asked to write one java program with function overloading...
Q: 3. Given the following three dimensional array int a[3][3][2]={ 1,2,3,.... 18}; Write assembly progr...
A: static: i:int32; j:int32; TwoD:int32[ 4, 8 ];
Q: Give an O (|V|2) algorithm for the following task. Input: An undirected graph G = (V, E); edge lengt...
A: - The Dijkstra algorithm can be used to tackle the problem of determining the shortest cycle in a gr...
Q: b) For the following circuits, find a Boolean expression and construct the truth table A B
A:
NASM program
X86
should run successfully in nasm in Linux platform while using the below commands for your clarity...
nasm -f elf question.asm
ld -melf_i386 question.o -o answer
./answer
here question is code file name and answer is what we are giving for output file.
please answer as what I asked .... please don't waste my questions posting wrong answers and irrelevant languages
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- A string is a palindrome if it reads the same from front to back as it does from back to front (e.g. "kayak", "rotator" and "noon" are palindromes). When determining whether an alphanumeric string is a palindrome, we often ignore spaces, punctuation and case in the string (e.g. "A man, a plan, a canal --Panama!" is also considered a palindrome). Write a complete C program to read a string, echo it to the screen, determine whether it is a palindrome, and write a message indicating whether it is or isn't. Your main function should prompt for the string, read the string, print it, call the clean function (to remove all spaces, punctuation, and turn uppercase letters into lowercase letters), print the new string, then call the reverse function (to place the characters into reverse order) and print the new string resulting. In the final step, you will compare the result of the reverse function with the original string and print a message if the string is a palindrome or not. The clean…Read in a word and check whether that word is a palindrome or not. A palindrome is a string that is spelled the same forward and backward.Determine whether a string is a palindrome A palindrome is a string of characters that reads the same from right to left as it does from left to right, regardless of punctuation and spaces. Some famous English palindromes include the following “Madam, I’m Adam”, and “Never odd or even”. Of course, a simpler example would be the world “radar”.The specifications for this assignment are: Write and test a non-recursive solution in Java that determines whether a string is a palindrome •Your program should consist of at least two methods: (1) the main method (2) the method which performs the task of determining whether the specified string is a palindrome. You should name this method isPalindrome. You should name the class that contains your “main” method and the isPalindrome method FindPalindrome. •You must use a Stack and a Queue in your solution:Make sure to Write your own Stack and Queue based on the Vector in the Java API and use those in your solution. You should name those classes…
- Make Camel Case. Create a program that reads a multi-word phrase, and prints the Camel Case equivalent. For example, for input “total account balance” the program shall output “totalAccountBalance”.Notice that the first word is in lowercase (even if it contains uppercase letters). The rest of the words, only their initials are capitalized.write a program that inputs a string and checks if it is a palindrome. Use a functiion.****Please help me solve this problem C. Chess Boundary Positions: Write a program called chess_pos.py On a chessboard, positions are marked with letters between a and h for the column and a number between 1 and 8 for the row. Give a 2 character input string with a letter (a-h) and a number (1-8), print "Corner" if the value indicates a square on a corner. Print "Border" if the value indicates a square on an edge of the board. Otherwise, print "Inside".
- Complete the following program that collects an input word from the keyboard and finds if the word is palindrome. A word is palindrome if the sequence of characters are the same from left-to-right and right-to-left, for example, "dad", "racecar" or "rotor" are all palindrome words because they can be read the same either forward or backward. word = input ("Enter a word: ") is palindrome = True i = -1 for if word[j] != word[i]: i = if not is palindrome: else: print ("word is palindrome") i+1 -1 len(word) is_palindrome = False jin word i-1 print ("word is not palindrome") jin range(len(word))5. Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: s = "bbbbb" Output: 1 Explanation: The answer is "b", with the length of 1..Write a Python program that compares two strings (character by character) and prints the number of similar characters. Example: Enter 1st string: This is a text Enter 2nd string: This is another text 9.
- A word is called ORDERED if all its letters appear in ASCENDING ORDER. Write down a program that will take an English word as input and will determine whether the string is ordered or not. Assume that the word will be entered in all capital letters.In C++ do not add any extra libraries A palindrome is a string that reads the same backwards and forwards. Use a deque to implement a program that tests whether a line of text is a palindrome. The program reads a line, then outputs whether the input is a palindrome or not. Ex: If the input is: senile felines! the output is: Yes, "senile felines!" is a palindrome. Ex: If the input is: rotostor the output is: No, "rotostor" is not a palindrome. Ignore punctuation and spacing. Assume all alphabetic characters will be lowercase. Special case: A one-character string is a palindromeIn programming language C.Write an algorithm to input a number. Find its square if the entered number is multiple of 10. If entered number if not a multiple of 10, then find its cube.