FE PRF 192 (H212) học là pass. Top Exam Questions and answers, 100% Accurate. Rated A+
13 views 0 purchase
Course
FE PRF
Institution
FE PRF
FE PRF 192 (H212) học là pass. Top
Exam Questions and answers, 100%
Accurate. Rated A+
C. 1212... (infinite loop) - What is the output when the sample code below is executed?
int i=1;
while(i<=10)
if(i%2 == 1)
printi(''%d ",i++);
else
printi("%d ",i- -);
A. compiler error
B. 1
C...
FE PRF 192 (H212) học là pass. Top
Exam Questions and answers, 100%
Accurate. Rated A+
C. 1212... (infinite loop) - ✔✔What is the output when the sample code below is executed?
int i=1;
while(i<=10)
if(i%2 == 1)
printi(''%d ",i++);
else
printi("%d ",i- -);
A. compiler error
B. 1
C. 1212... (infinite loop)
D.12468 10
E.13579
B. Assembly, C, C++, MATLAB - ✔✔Which is the correct order when listing the following languages from
the lowest to the highest level?
A. C. Assembly. C++, MATLAB
B. Assembly, C, C++, MATLAB
C. Assembly, MATLAB, C, C++
D. C.C++, Assembly. MATLAB
c. 255 - ✔✔What is fie maximum value of an unsigned char?
A 128
B. 127
,c. 255
D. 256
B. n-1 - ✔✔if an array has n elements, the largest subscriptis__.
A. n-2
B. n-1
c. n
D. n+1
C. An array is the collection of the same data type located next to each other in the memory . -
✔✔Whatis the correct definition of an array?
A. An atray is the collection of different data types located next to each other in the memory.
B. An array is a collection of the same data type spread throughout the memory.
C. An array is the collection of the same data type located next to each other in the memory .
D. An array is a collection of different data types spread throughout the memory.
A. -5 4 - ✔✔What is the output when the sample code below is executed?
void foo(intx, int *y) {
x= x*x;
*y = *y**y;
}
int main(){
intx= - 5, y=- 2;
foo(x, y);
printi("% d %d",x, y);
return 0;
}
A. -5 4
B. -5 -4
, C. -5 -2
D. 25 4
E. 5 4
B. 2 - ✔✔Given the declaration.
int ref[ ] = {1, 2, 4};
What is the value of *(ref+ 1) ?
A. 1
B. 2
C. 4
D. None ofthe above
C. Hello w - ✔✔Given the program:
#include <stdio.h>
#include <string.h>
void main(){
char str[50];
strcpy(str,"Hello world");
*(str+7) = '\0';
printf("%s" str);
}
What is printed?
A. Error
B. Hello world
C. Hello w
D. Other
E. Hello \Orld
F. Hello \0
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller PassPoint02. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.