GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

Consider the following function header that receives the arr…

Consider the following function header that receives the array of char named word: int getNumber(char word[]) Write a command inside this function that calculates the size of the array word inside the integer variable n:

Read Details

The following C/C++ code does not compile. Describe what cou…

The following C/C++ code does not compile. Describe what could be the problem. int main() { int width = 2 , height, length = 10, ; printf(“The volume of the box is %d\n”,width*height*length); return 0; }  

Read Details

Listening B Mr. Kano consults with Ms. Fujiwara about gift…

Listening B Mr. Kano consults with Ms. Fujiwara about gift ideas for Ms. Hart. (1×4) *グラス=glass cup Your browser does not support the audio file.   1. Ms. Hart gave Mr. Kano a glass cup that looks expensive. [1] 2. Ms. Fujiwara thought plates would be good because they are cheap. [2] 3. According to Mr. Kano, Ms. Hart already received plates from someone. [3] 4. Mr. Kano will give Ms. Hart a ticket for a tennis game. [4]

Read Details

Write a set of C conditional statements that will print “Too…

Write a set of C conditional statements that will print “Too Low” if the value of an integer variable height is smaller than 2, print “Normal” if the value of height is smaller than 4, but bigger than or equal to 2, or print “Too High” otherwise.

Read Details

Rewrite the following piece of code to make it secure (all v…

Rewrite the following piece of code to make it secure (all variables were declared as int and were properly initialized) a = b / c;

Read Details

Consider the following piece of C/C++ code: int a = 2, b = 7…

Consider the following piece of C/C++ code: int a = 2, b = 7, c = 3;int *p = &a , *q = &c ;*p *= b*(*q); The value of the variable a after the previous code is executed will be:

Read Details

Consider the following function header that receives the arr…

Consider the following function header that receives the array of float named grades: float getGrade(float grades[]) Write a command inside this function that calculates the size of the array grades inside the integer variable m:

Read Details

The following are incorrect statements regarding data type c…

The following are incorrect statements regarding data type conversions in C/C++, except:

Read Details

Write a for-loop to print all integer numbers between 63 to…

Write a for-loop to print all integer numbers between 63 to 75 , while preventing out of bound errors:

Read Details

The following C/C++ code does not compile. Describe what cou…

The following C/C++ code does not compile. Describe what could be the problem. int main() { int a = 2 , h= 10; printf(“The volume of the cylinder is %d\n”,2*PI*a*h); return 0; }

Read Details

Posts pagination

Newer posts 1 … 47,361 47,362 47,363 47,364 47,365 … 70,222 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top