Create the given database with the condition that EMP_ID and FIRST_NAME will be the primary key of table and all unique values in LAST_NAME
1. Create the list. The list is initialized to an empty state.
2. Determine whether the list is empty.
3. Determine whether the list is full.
4. Find the size of the list.
5. Destroy, or clear, the list.
6. Determine whether an item is the same as a given list element.
7. Insert an item in the list at the specified location.
8. Remove an item from the list at the specified location.
9. Replace an item at the specified location with another item.
10. Retrieve an item from the list at the specified location.
11. Search the list for a given item
Create a C program that would make a simple checkbook balancer that would input a sequence of deposits (positive floating-point values) and issuances (negative floating-point values) terminated by a 0. It would output the transaction type, the amount and the running balance for each entry. Assume the initial balance of 0. Ensure that the issued check won’t bounce!
Draw the flowchart design for an algorithm to find the minimum of an array A containing 100 integers
Write java application with the following information:
- Class Name ; Student
- Method1: AddStudent
- Method2: Print Students
- Method 3: totalStudent
- Method 4: Delete Student
Java Data Types Assignment?
Object [ ] = { “Java”, 1.23F, true, false, 23, ‘a’, ‘b’, 23.4F, 45.6F}; Write the Java Program to sum only the float variables or any data type.
Using implicit sizing, assign the integers 2, 3, 5, 7, 11, and 13 to an array named intPrimeNumbers.
2. Answer the following questions about the following initialized array: Dim strSeafood(8) as String
a. Assign Oysters to the first array location. What is the index number?
b. Assign Lobster to the fourth location in the array. What would the assignment statement look like?
c. What value does strSeafood.Length have?
d. How many types of seafood can this array hold?
e. What would happen if you assigned strSeafood(9) = “Red Snapper”
4. Write a For Each loop that displays every element of an array named strSongNames in a ListBox named lstDisplay. The loop variable is named strPlay.
your mother asked you to stack up all your books in a book rack. A book rack can not hold more than 25 books. so create an ADT called book that stores the name, author, and the number of pages in a book. use this ADT to create an array based stack called "bookrack" of books. your implementation must be abstraction based containing:
1. Accessors
2. Mutators,
3. push
4. pop
5. peek
6. smart_search
7. display stack
8. isEmpty
9. isFull
10. delete
remember that you are implementing a stack which is a variation of a linked list in which operations can be performed only at the head. So for operations such as search, display and delete, you will have to be very careful about 1. conform to the rules of the stack i.e work with the top item only, 2. maintain the order of the stack.
Write a program that allows the user to input a name, surname and address. The program should output the name, surname and address 10 times. Use the For and WHILE LOOP.
2. Write a program using the SWITCH CASE Statement to enable the user to choose from 4 different operations as listed below.
1) Sum (+)
2) Minus (‐)
3) Multiplication (*)
4) Division (/)
5) Exit
The user will input two numbers and will then choose the operation from the menu above. The program will then work the operation chosen by the user and display the result accordingly. Loop the whole program until the user presses ‘5’.
3. Write statements that will read numbers and print out the sum of thenumbers. The program should stop when the user enters -999, or after reading 5 numbers, whichever comes first.
4. Write a program segment using nested loops to create the following
output:
*
**
***
****
*****
******
*******
********
*********
: complete the question in the comments
class User :
def __int__(self, user_id, username):
self.id = user_id
self.username = username
user_1 = User("001", "allobang")
print(user_1.username)
user_2 = User("002", "Jack")
print(user_2.username)
ACTIVITIES:
1. Finish this code by adding a password attribute.
2. Assign passwords on user_1 and user_2 of your choice.
3. Create 3rd user object.
a. The value of the id should be your student ID number.
b. The value of username should be your first name.
c. Assign the value of the password attribute of your choice.
4. Print the username of 3rd user object.