Questions: 1 680

Answers by our Experts: 1 680

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Two brackets are considered to be a matched pair if the an opening

bracket (i.e., (, [, or { ) occurs to the left of a closing bracket (i.e., ),

], or }) of the exact same type. There are three types of matched

pairs of brackets: [], {}, and (). A matching pair of brackets is not

balanced if the set of brackets it encloses are not matched. WAP to

determine whether the input sequence of brackets is balanced or not.

If a string is balanced, it print YES on a new line; otherwise, print

NO on a new line.

Example: Input: {[()]} and Output: YES

Input: {[(])} and Output: NO


WAP to convert an infix expression into its equivalent prefix

notation.


WAP to convert an infix expression into its equivalent postfix

notation.


Write a menu driven program to perform the following

operations of a stack using linked list by using suitable user defined

functions for each case.


Write a menu driven program to perform the following

operations of a stack using array by using suitable user defined

functions for each case.

a) Check if the stack is empty b) Display the contents of stack

c) Push d) Pop


Write an assembly language program that uses 3 byte variables, a, b, and c. The variable are initialized before the program starts with the values 2, 5, and 0, respectively. The program will add, sub, divide and multiply the contents of the variable a to that of b and store the result into c. Only c will change.


write an assembly language program that uses 2 dword sized variables, a and b. the variable are initialized before the program starts with the values 6 and 11, respectively. the program will print (using _printf) all the integers between (and including) the two variables, a and b.
write an assembly language program that takes string, the output will be welcome to cscn71010
write a program that creates a structure template with two members according to the following criteria: the first member is a student number (following the format of 10 digits: yyyymm wxyz yyyy = birth year, on = birth month, wxyz = random 4 digit code) the second member is a structure with three members according to the following criteria: first member is "first name" second member is "middle name" third member is "last name" write and test a program that creates and initializes an array of five of these structures (make up pretend names/numbers for your 5 students). write a single function that accepts the array of structures as its parameter for printing the array data in the following format:
write and test a function that sets each element in an array to the sum of the corresponding elements in two other arrays. for example, if array 1 has the values { 2, 4, 5, 8 } and array 2 has the values { 1, 0, 4, 6 }, the function should assign array 3 the values { 3, 4, 9, 14 }. be sure to include all the tests you performed to demonstrate that this function works as specified.
LATEST TUTORIALS
APPROVED BY CLIENTS