i have an c program exam , i need to prepare for it , as you are experts , can you provide me with list of exams questions with answers so i can revise.
1) Which is user defined data type ?
a) integer
b) Structure
c) Enum
Answer is A. So integer and enums are the inbuilt data types and cannot be redefined by the user.
2) what is declaration and definition in C program.
In declaration we assume data type to the variable.
In definition the value is assigned to the variable.
3) When will we be mention the prototype of a function in c?
We can only mention the prototype during the declaration of the function.
4) If we give a value to an array with higher subscript value than the size what happens?
If we assign the value to a higher subscript value than the size the program might crash during the execution and comes with an overflow error.
5) What happens if you pass the array to a function?
In C language only the base address is passed, so changes made to the array will be reflected in the arrays.
6) Fucntion to open a file
fopen is a function that helps to open a file by passing the file path to it together with mode.
7) How to print float and double value to the console.
%f and %lf are used for float and double values respectively.
8) Header file for input and output functions are
stdio.h It is the inbuilt library file used for input and output operations in c language.
9) Purpose of return function
It transfers control from the called function back to the calling function.
10) What are pointers?
It is a variable that stores the address of the another variable.
Information Technology experts? I need help completing my study guide/exam review for my finals. 1. List 2 potential sources for Big Data? 2. List two data visualization features in Excel that can be used to create dashboards and briefly describe their utility. 3. [Spreadsheet modeling formulation] Describe the difference between Requirements and Specifications and provide at least one example to distinguish between these two concepts. Thank you so much. It'll be such a great help towards my review.
A - Write pseudocode B - Write A PYTHON PROGRAM Driver’s License Exam The local driver’s license office has asked you to design a program that grades the written portion of the driver’s license exam. The exam has 20 multiple choice questions. Here are the correct answers: B D A A C A B A C D B C D A D C C B D A Your program should store these correct answers in an array. (Store each question’s...
Part I Directions: Select a program document and imagine you have been assigned to prepare a review of it. In no more than two pages, answer the following questions: How does it meet users’ needs? Does it need revision? Does it address one audience or multiple audiences? Part II Directions: Compose a strong cover letter for the review. Remember to include questions for the reviewers and direct their feedback. Part III Directions: Now change roles and become a reviewer. Write...
//I NEED THE PROGRAM IN C LANGUAGE!// QUESTION: I need you to write a program which manipulates text from an input file using the string library. Your program will accept command line arguments for the input and output file names as well as a list of blacklisted words. There are two major features in this programming: 1. Given an input file with text and a list of words, find and replace every use of these blacklisted words with the string...
This program should be written as a C code, You need to
think how to break it down to steps that can do the program. I
DON'T WANT YOU TO WRITE THE CODE, I only need you to tell me
something like ( first you need a code the do.....)
I'm really having a difficult time understanding how it
can be written in C or C++
You have been asked to write a program to grade several multiple-choice exams. The exam has 20 questions, each answered with a letter in the range of ‘a’ through ‘f’. The answers key is declared in the program as constant of type string. An example of answer key is “abcdefabcdefabcdefab”. Your program should work for any other answer key. The program should first ask users for the number of students to be graded. Then it should have a while loop...
I need help writing c++ code to make this program. 1. Define a function that can read the input file answers.dat. This function should not print anything. 2. Define a function that computes the quiz score of the function by comparing the correct answers to the student’s answer. The result should be a percentage between 0 and 100, not a value between 0 and 1. This function should not print anything. 3. Define a function that prints the report as...
Can you help me answer these questions.
●I need complete answers for the whole questions.
●I need accurate and correct answers,explanation and drawings
●Kindly provide clearer handwriting and drawing too.
THANK YOU SO MUCH FOR YOUR HELP.I REALLY APPRECIATE IT.
6) a)i)sketch the pathway of air in the human respiratory system.(5marks) ii) Analyse air and water as respiratory medium in gas exchange.(5marks) lii))illustrate labelled phases of an action potential.(5marks) b)i)Prepare a labelled diagram of longitudinal section for both xylem and...
Hello, I have a question about C Program. I have finished the code. And it can debug successfully. However, when I run it for more times, it will suddenly say there is one error which says that can not open the file and give a "Link" word beside. Can you tell me why it will happen to be it and what to do to avoid the problem. Thank you!
Please show work so that I can see the process also Let’s say you scored a 111 on exam 1 and you scored an 125 on exam 2. You can predict your final exam score with the following prediction equation: Y’ = bX + c (round to nearest whole number). X is the total number of points you earned on the first two tests. Given: Mean = 120; standard deviation of y = 100. The correlation (r) between the total...