Write a VB program to swap the 1st quarter elements of one dimension integer
array of size 12 with 2nd quarter elements.
Write a C++ code that will prompt the user to enter marks of 3 students. Determine and display the lowest mark among the 3. Do not use a loop.
(a) What is data parallelism explain with example?
(b) Under what condition an operation can be executed in parallel?
You are a manager of Data Warehouse, how you keep the data validate in terms of secure data of validation?
Develop User Interface as mentioned below as per the requirements:
Button One: Activate Button Two: Deactivate
Button One is pressed two fields and a button appear
Field 1: From Number Field 2: To Number
Button: Activate
Field 1 should auto-populate with the number queried from DB. And should not be changeable. The reason to still have a field is just to make it explicit what is happening.
When the Activate Button is pressed execute some action with parameter as below.
CALLACTION = "Call Forwarding On"
PHONENUMBER = From Number (From Field 1)
TOLLNUMBER = To Number (From Field 2)
Button Two is pressed a prompt and two buttons appear.
Prompt: "Are you sure you would like to deactivate the <Telephone Number>?" Where <Telephone Number> is the number initially queried.
Button 1: Yes Button 2: No
how to connect xampp server with php
H/w question 6
Create a program in Python, called Tri-Calculator, that uses a function to calculate the area of a triangle given the base and height measurements. Use the below function to do your calculation:
def area_of_triangle (base, height); return 0.5 * base * height
The program should receive the base and the height from the user. Once the user enter a base greater than the height the program should give the user another attempt to enter a base and a height. The program only give the user three attempts to enter the correct base and height on the third attempt the program should display the below message:
"Your 3 attempts is up, try again later"
If the user enters a base less than height, the program should display the correct triangle area using the given function.
(it should contain a function, loop, if statement and sentinel value)
Using one of the referenced website articles discuss how operating systems Switch Between Processes and/or how the OS decides to stop one process and start another.
A training center selects applicants into their apprenticeships program based on the needs fir apprentices in the industry. Only 5 applicants were enrolled for the year. The final mark for the student is determined by the final exam mark plus 5 Mark's if the student submitted all the assessments. Otherwise, the final mark of the student is the exam mark
Write a c++ program to determine the final mark of the student. The program should:
•Hold the names of the students and their final mark in a parallel array
•Display the names and their final Mark's in a tabular format
•Calculate and display the average mark of the student
•Calculate the highest and lowest final mark and display the name and the mark of the student with the highest and lowest final mark.
Create a class Date whose object can store a day, month and year. Include the necessary
constructors to initialize the objects and function to display the date in ‘dd/mm/yyyy’ format.
Define a non-member function findAge(Date dob, Date today) which should return the calculated
age from the input dates ‘dob’ and ‘today’. Set this function as friend to Date class. Write a main
function to read the today’s date and date of birth of a person from the user and display the age
of that person by calling the proper function.