create an INDEXCEPTION value of the unique vowels and unique consonants that the name that was given to you can create. Use python
Q: Write a program that creates an array of 10 names. Display the names in reverse order. Reverse order…
A: Code: #include <iostream>#include <string> int main(){ std::string colour[10] = {…
Q: Write a program that uses 3 command line arguments to search a list of float numbers in a file and…
A: Step 1 : Start Step 2 : Create a method SearchFile which takes the file name and the float value to…
Q: Write a complete program for a Class Record System. Create 6 one-dimensional arrays, namely : SN[50]…
A:
Q: implement a Cfunction with the following header Int processPointers(int "p, int "q, int n) the…
A: C program to implement a function processPointers that take two arrays and their size as argument…
Q: studentNumber (int), courseCode (char array [8]), finalGrade (float). 200201078 CENG104 89.75…
A: Declare an integer variable to store user input for options from 0 to 6. Declare variables to hold…
Q: Write a program that prompts the user to read two integers and displays their sum. Your program…
A: As per Bartleby Guidelines: “Since you have asked multiple question, we will solve the first…
Q: Create a program that will encrypt letters and create a secret code. You will create an array of…
A: Since the Programming language is not mentioned in the question, we will answer this question in…
Q: Modify the code to read integer values from the keyboard, store them into a 15 element array, then…
A: import java.util.Scanner; import java.io.*; Answer is public class Storeintoarr{ public static void…
Q: In this assignment you will write a program to find the mean of a list of grades stored in a file.…
A: Required: In this assignment you will write a program to find the mean of a list of grades stored in…
Q: Step Use the scanner object to read an int from the user representing how many words you will read.…
A: Given:
Q: a. Declare 3D array named "array3d" with the dimension of 2 x 3 x 4 b. Assign random numbers to…
A: Program plan:- Header file. Copying all "array3d" contents into the new array. Add two 2 X 3…
Q: Add a main function which takes any number (including 0) of command line arguments. It creates a new…
A: i give this question answer in next step,
Q: Write a program that prompts the user to enter integers, finds the largest and smallest integers and…
A: "Since you have not mention any programming language, so will write our program in C language." C…
Q: mat {name, weight, expiryDate}, write a function that prints the sum of the weights whose expiryDate…
A: Given an array of objects with format {name, weight, expiryDate}, write a function that prints the…
Q: In this lab, you will read two files. Firstly, the ‘AccountData.csv’ file has the name and account…
A: Given In this lab, you will read two files. Firstly, the ‘AccountData.csv’ file has the name and…
Q: Write a java labguage program to use parallel arrays to save User ID and Password. Ask the user to…
A: A parallel array uses different arrays of same size which uses common index to store and fetch…
Q: Create a simple python program that will encrypt letters and create a secret code. You will create…
A: Actually, python is a easiest programming languages. It has a concise(less) code. It is a…
Q: java program that Creates an INDEXCEPTION value of the unique vowels and unique consonants that the…
A: java - // Java program to remove vowels from a String import java.util.Arrays;import java.util.List;…
Q: Process Step 1: For every unique vowel of a name, you need to get the first index of that vowel from…
A: Q: Print sum of consonants associated to given vowel index
Q: thank you
A: Given Code: int[] numList = new int[6]; int x=3; Considering the given options:
Q: Write a program that will use a two-dimensional arrays named : Record[50][4] . The 1st column of the…
A: Bubble sort is a method in which we compare adjacent items of an array. swapping is used to shift…
Q: write a program that reads up to 100 numbers from a file. As you read the numbers, insert them into…
A: int addToArrayAsc(float myArray[], float numEntries, float newValue){ //corner case: array…
Q: In this lab, you will read two files. Firstly, the ‘AccountData.csv’ file has the name and account…
A: Given that 1. In this lab, you will read two files. Firstly, the ‘AccountData.csv’ file has the…
Q: Write a program to create an answer sheet to read the student’s answers for a ten (10) item exam. It…
A: import java.util.Scanner; public class Main { public static void main(String[] args) {…
Q: Write the code that converts your real student number to binary values. Just after calculating each…
A: First, we will input the roll no. of the student. Then we will convert the number into binary no.…
Q: Write a program to use parallel arrays to save User ID and Password. Ask the user to enter the user…
A: Source code : IDPassword.java import java.util.Scanner; public class IDPassword {…
Q: Write a program to calculate students’ average test scores and their grades.You may assume the…
A: In the solution to the given problem, we need to use parallel arrays. A parallel array is a…
Q: Exercise1: Write a program that stores data for 5 students in two different arrays as follows:
A: Code: Output:
Q: Write a short program that prompts the user and reads in integers into an array called Table. When…
A: C++ used to answer this question
Q: Write a program where the user enters 10 floating point numbers into an array and it shows the…
A: Program Approach: Including a necessary header file Declaring the main method Declare an array of…
Q: A palindrome is a word that is the same when spelled from the front and from the back. For example,…
A: (1)To Solve this we need to count the number of mismatches in between two string as shown below
Q: Here is the code I have written in Python but I need to make DRY using one single get_array function…
A: According to the Question below the Solution: They all have different functions. You can make it a…
Q: You must write a small application in JAVA that stores SRC candidate names and the votes they…
A: We will solve this problem in Java language.
Q: read a csv file and put each row into an array, if a user inputs number '1' it will retrieve the…
A: import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import…
Q: Write a block of code that uses a dynamic allocated array named Array to (1) Load ten integers from…
A: 1) Since programming language is not defined I have written program in C language 2) Below is…
Q: What happens during execution if a negative value is used for an array index? a. A Number…
A: Here is the Answer answer and explanation
Q: public int binarySearch(int[]array, int num) { int low = 0; //low range int high = array.length -1;…
A: Compare num with the mid element. If num matches with middle element, we return the mid location.…
Q: Create a program that will encrypt letters and create a secret code. You will create an array of…
A: Given: Create a program that will encrypt letters and create a secret code. You will create an…
Q: You have to use comment function to describe what each line does import java.io.BufferedReader;…
A: Hey there, I am writing the required solution based on the above given question. Please do find the…
Q: Write a program to accomplish the following: One of your professors has asked you to write a program…
A: The code is given below in the C++ language :
Q: Create two dynamic arrays A and B with random numbers. a) Merge B in array A calling a function by…
A:
Q: You are requested to develop a simple java program for a movie theatre. They need to store the…
A: The program is to read the content from the txt file and develop a java program for the movie…
Q: Write a program that creates array of 10 integers. Ask the user to enter the data in the array. Each…
A: //note: since programming language is not mentioned we are providing answer in cpp #include…
Q: You are the class representative and your class advisor always requests your help to prepare the…
A: import numpy marksArray= numpy.array([0,1,0,2,3,4,5,0,6,0]); #array to store marks of students…
Q: Write a function called FindMyChar that receives three parameters: the name of the array the array…
A: "Since you have not mention any programming language, so wee will write this program in C language."…
create an INDEXCEPTION value of the unique vowels and unique consonants that the name that was given to you can create. Use python
process
Step 1: For every unique vowel of a name, you need to get the first index of that vowel from the original string.
Step 2: For each vowel index you get from step 1, you will get the unique consonant from that position. if the index is out of scope of the consonant array, ignore that vowel index.
Step 3: For each unique consonant that you get from step 2, you need to get the first index of that consonant from the original string.
Step 4: Get the value of indexception by adding all index you get from step 3.
output
TO BE DISPLAYED
- 2 lists that consists of unique vowels and unique consonants
- The vowel, the vowel index, the consonant, the consonant index
FINAL OUTPUT
- The total indexception value of the name that was given to you.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- ScenarioI want to create an INDEXCEPTION value of the unique vowels and unique consonants that the name that was given to you can create.InputA string of the name that was GIVEN TO YOU. CASE SENSITIVE.ProcessStep 1: For every unique vowel of a name, you need to get the first index of that vowel from the original string.Step 2: For each vowel index you get from step 1, you will get the unique consonant from that position. if the index is out of scope of the consonant array, ignore that vowel index.Step 3: For each unique consonant that you get from step 2, you need to get the first index of that consonant from the original string.Step 4: Get the value of indexception by adding all index you get from step 3.OutputTO BE DISPLAYED- 2 lists that consists of unique vowels and unique consonants- The vowel, the vowel index, the consonant, the consonant indexFINAL OUTPUT- The total indexception value of the name that was given to you.java program that Creates an INDEXCEPTION value of the unique vowels and unique consonants that the name that was given to you can create.Input: A string of the name that was GIVEN TO YOU. CASE SENSITIVE.Process1: For every unique vowel of a name, you need to get the first index of that vowel from the original string. 2: For each vowel index you get from step 1, you will get the unique consonant from that position. if the index is out of scope of the consonant array, ignore that vowel index. 3: For each unique consonant that you get from step 2, you need to get the first index of that consonant from the original string. 4: Get the value of indexception by adding all index you get from step 3.OutputTO BE DISPLAYED- 2 lists that consists of unique vowels and unique consonants- The vowel, the vowel index, the consonant, the consonant indexFINAL OUTPUT- The total indexception value of the name that was given to you.Create an indexception value of unique consonants and unique vowels.This is the Input: String of the name that was given below. It must be case sensitive.Steps:Step A: In every unique vowel of a name, you need to get the first index of that vowel from the original string.Step B: In each vowel index you get from step A, you will get the unique consonant from that position. if the index is out of scope of the consonant array, ignore that vowel index.Step C: In each unique consonant that you get from step B, you need to get the first index of that consonant from the original string.Step D: You will the value of indexception by adding all index you get from step C.output must be like this: > 2 lists that consist of unique vowels and unique consonants> vowel, the vowel index, the consonant, the consonant indexfinal ouput> total indexception value of the name that was given. ------Input "Tricia O. Reyes"Output:Name: Tricia O. ReyesVowels: ['a', 'e', 'i', 'o']Consonants: ['T', 'r',…
- Write a program to use parallel arrays to save User ID and Password. Ask the user to enter the user ID and Passwords for 3 users Save the above information in two parallel arrays (using the same index for each user) After the input is completed, ask the user to enter any user ID and then ask the password for that ID. Confirm if the User ID and password match, if not ask the password Note - In java please thank youFor an array stored in the variablecustomerswhose highest index value is 34, thecustomers.lengthproperty will return the value _____. a. 35 b. 34 c. 33 d. nullWrite a program that creates a two dimensional array with 4 rows and 3 columns that contains the below numbers. Let the computer prompt you to enter these numbers. 8 6 1 7 3 0 2 5 9 5 6 7 After that, calculate and print the total and average of these values.
- Write a java labguage program to use parallel arrays to save User ID and Password. Ask the user to enter the user ID and Passwords for 3 users Save the above information in two parallel arrays (using the same index for each user) After the input is completed, ask the user to enter any user ID and then ask the password for that ID. Confirm if the User ID and password match, if not ask the passwordIn this lab, you will read two files. Firstly, the ‘AccountData.csv’ file has the name and account number.Use each account number to scan the ‘BankData.csv’ file for a matching account number to get a ‘balance’from the account transactions. You must repeatedly open, read the ‘BankData.csv’ file and close it for eachaccount number in the ‘AccountData.csv’ file unless you wish to store its entire contents in a static array.(More code and may not be enough time to complete.) import java.io.*;import java.nio.file.Files;import java.nio.file.Path;import java.nio.file.Paths;import java.util.ArrayList;import java.time.format.DateTimeFormatter; public class BankDataProcessing { static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MM-dd-yyyy HH:mm"); static ArrayList<BankAccount> Accounts = new ArrayList<>(); public static void main(String[] args) { try { Path path = Paths.get("src/AccountData.csv"); readAccounts(path, true);…Write a program to create an answer sheet to read the student’s answers for a ten (10) item exam. It should then display a message indicating the score and remarks whether the student passed or failed the exam. (A student must correctly answer 6 of the 10 questions to pass the exam.) Here are the correct answers (key to correction), which should be initialized and stored in an array: TRUE FALSE TRUE FALSE FALSE FALSE TRUE TRUE TRUE FALSE PLEAS USE ARRAY OF STRINGS
- Create a program that will encrypt letters and create a secret code. You will create an array of numbers from 0 - 25. use [i for i in range (26)] to create an array of numbers from 0 - 25. use random.shuffle to to shuffle the above array. This will be used for a new letter index order. For example: The first created array [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25] gets shuffled to become[2, 14, 12, 20, 16, 5, 11, 1, 13, 17, 15, 21, 19, 10, 23, 22, 25, 3, 6, 7, 18, 4, 9, 24, 0, 8] This will be used as the new index for the encrypted alphabet. create an array of letters using list(string.ascii_lowercase), this requires importing the string module. This will create: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] Accept an input of a word. Using the above tables take each letter of the word and convert it to the encrypted letter. Print each…Create a program that will encrypt letters and create a secret code. You will create an array of numbers from 0 - 25. use [i for i in range (26)] to create an array of numbers from 0 - 25. use random.shuffle to to shuffle the above array. This will be used for a new letter index order. For example: The first created array [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25] gets shuffled to become[2, 14, 12, 20, 16, 5, 11, 1, 13, 17, 15, 21, 19, 10, 23, 22, 25, 3, 6, 7, 18, 4, 9, 24, 0, 8] This will be used as the new index for the encrypted alphabet. create an array of letters using list(string.ascii_lowercase), this requires importing the string module. This will create: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] Accept an input of a word. Using the above tables take each letter of the word and convert it to the encrypted letter. Print each…You must write a small application in JAVA that stores SRC candidate names and the votes theyreceived. Your program must:1. Create an array of SRC candidate names. Populate the array with ten names.2. Create an array of votes. Populate the array with the number of votes for every candidate. Thetwo arrays work in parallel.3. Print the name of every candidate with his/her number of votes.4. Print the total number of votes casted.5. Add votes for a specific candidate.a. Read the name of the candidateb. Add one vote for the specific candidatec. Print the name of the candidate and his/her number of votes