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

1 In this task, you are to create a simple registration form. Use the sample below:

1.2 Create MYSQL database called rgi_student and a table called student_reg which consist of the

following attributes:

STID INTEGER (4)

USERNAME VARCHAR(30)

PASSWORD HASH CHAR(25)

CONFIRM PASSWORD

FIRSTNAME VARCHAR(30)

SURNAME VARCHAR(30)

EMAIL TEXT

QUALIFICATION VARCHAR(15)

CELL NUMBER INTERGER(10)

GENDER VARCHAR(6)

NATIONALITY VARCHAR(25)

1.3 Once the information has been inputted by the student at the frontend (REGISTRATION FORM),

all the fields need to be validated before being sent to the backend (MYSQL DATABASE). Only 3

one SQL task is performed under registration form that is, INSERT operation where captured

information is sent to the created table called student_reg.


 


Armstrong numbers between two intervals


Write a program to print all the Armstrong numbers in the given range A to B(including A and B). An N-digit number is an Armstrong number if the number equals the sum of the Nth power of its digit.


Input

The first line has an integer A.

The second line has an integer B.


Output

Print all Armstrong numbers separated by a space.

If there are no Armstrong numbers in the given range,print -1.


Sample Input 1

1

3

Sample Input 1

1 2 3


Sample Input 2

10

15

Sample Input 2

-1


Write a program to implementation a Queue using stacks.
(You may follow the link for hint: https://www.geeksforgeeks.org/queue-using-stacks/)
Write a program to implement circular queue using Arrays.
Write a program for implementation of priority queue with character data elements. Each
element has an integer priority number between 1-5. Implement Enqueue () and Dequeue ()
functions in each of the following cases.
1. Linked list implementation of priority queue.
2. Array implementation of priority queue.
NOTE: No code is required



Consider a avl which is constructed by the following node values:

12,33,44,43,99,0,88,13,43,2,222

Draw the avl and answer the following questions:

1)Draw avl for above data
2)draw diagram after each step

Draw a flowchart that uses while loops to perform the following steps:

a. input two integers: firstNum and secondNum.

b. all the odd numbers between firstNum and secondNum inclusive.

c. the sum of all the even numbers between firstNum and secondNum inclusive.

d. all the numbers and their squares between 1 and 10.

e. the sum of the squares of all the odd numbers between firstNum and secondNum inclusive.


A four-digit number is given. Find the number 3 in it.

Draw a flowchart that to perform the following steps:

a. The user must input two integers: firstNum and secondNum.

b. Output all the odd numbers between firstNum and secondNum inclusive.

c. Output the sum of all the even numbers between firstNum and secondNum inclusive.

d. Output all the numbers and their squares between 1 and 10.

e. Output the sum of the squares of all the odd numbers between firstNum and secondNum inclusive.


The program should accept 5 records of books and displays them on the screen


LATEST TUTORIALS
APPROVED BY CLIENTS