Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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

Question 3


(a) Using the AIT Lemass as an example, discuss practically the Quality of Service (QoS) levels in the areas that are measured when determining 3 the performance of a system. If any of the areas measured has a poor quality of service, discuss what could be done to improve upon its quality of service.


(b) Discuss practically the server form factor(s) you would consider for AIT and justify your choice with reasons


(c) Using the AIT Internet provision for lectures to be streamed online as a case study, discuss the kind(s) of challenge(s) faced by lecturers (e.g IT101) using the Internet service(s) provided by the school for the online streaming and its impact on students (both on campus and at home/hostel). Discuss what you think could be done to resolve such challenge(s).. 


Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.


Ex 1:

 

Input: num = [1,3,5,6], target = 5

Out: 2

 

Ex 2:

 

Input: num = [1,3,5,6], target = 2

Out: 1

 

Ex 3:

 

Input: num = [1,3,5,6], target = 7

Out: 4

 

 

Ex 4:

 

Input: num = [1,3,5,6], target = 0

Out: 0

 

Ex 5:

 

Input: num = [1], target = 0

Out: 0


please follow the below program finish it in C language.


#include <stdio.h>
#include <stdlib.h>

int nums[1024]; 

int main(){
	FILE *fp;
  fp=fopen("binarysearch.txt","r");
  if(fp==NULL){
  	printf("The input file does not exist.\n");
  	exit(-1);
  }
  int target,size = 0,i; 
  fscanf(fp, "%d", &target);
	while (!feof(fp)){  
  	fscanf(fp, "%d", &(nums[size])); 
  	size ++;
}

Write a function to add two 1D array elements. Use call by reference and return the sum array elements to the main function to print. 


Given a positive integer, write a program to print the digit in its one's place


a) Discuss with examples the main difference between system programming and application programming and explain in your own words how each of these can be carried out in the computer system


b) Explain the term structured exception handling (SEH) as used in systems programming and give a practical example of how it can be used to handle errors in a block of code.


c) Write a C/C++ system program to remove an unwanted directory in the Windows file system. Compile and run the program and copy the source code into your answer booklet. 


a) Discuss the files systems that are supported in Windows and the devices that are supported in these file systems.


b) Write a C/C++ system program to read text from a file in the Windows file system, and print the text to the screen. Compile and run the program and copy the source code into your answer booklet.


c) Discuss the Windows registry and its use and also interpret the main registry keys used to store information in the registry.


a) Discuss with 3 examples how kernel objects are represented in Windows and how the system programmer can manipulate these handle objects. AP,


b) Write a C/C++ system program to search for a file in the Windows file system and display the file information on the screen. Compile and run the program and copy the source code into your answer booklet.


c) Compare and contrast processes and threads and discuss how threads are scheduled.


a) Discuss the key components of a computer system, and how these components make it possible for computer users to effectively utilize computer system resources.


b) Compare and contrast the Windows operating system and the Unix/Linux operating system and briefly explain the features of each of these operating systems that makes it suitable for system programming.


c) Write a C/C++ program to create a file in a specified folder of the Windows file system, and write some text to the file. Compile and run the program and copy the source code into your answer booklet.


Develop a code for the hierarchical inheritance for banking account,


· The Bank_ACC base class consisting of data members such as accno and name, and member functions get() and display().


· The SB_ACC derived class inherited from Bank_ACC class, consisting of data members such as roi, and member functions get() and display().


· The CUR_ACC derived class inherited from Bank_ACC class, consisting of data members such as odlimit, and member functions get() and display().




Design a student performance system to find the students overall performance marks from subjects and sports. The student class consisting of data members such as rno, mark1 and mark2. The sports class inherits student class and consisting of data members such as sports_ mark. The statement class inherits the data members of sports class and used to find the total and average of a student.



LATEST TUTORIALS
APPROVED BY CLIENTS