Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

SW 19 SAP Labs Technical Practice paper Questions and Answers- University of South Alabama

Beoordeling
-
Verkocht
-
Pagina's
35
Cijfer
A+
Geüpload op
19-07-2023
Geschreven in
2022/2023

SW 19 SAP Labs Technical Practice paper Questions and Answers- University of South Alabama/SW 19 SAP Labs Technical Practice paper Questions and Answers- University of South Alabama/SW 19 SAP Labs Technical Practice paper Questions and Answers- University of South Alabama/SW 19 SAP Labs Technical Practice paper Questions and Answers- University of South Alabama/SW 19 SAP Labs Technical Practice paper Questions and Answers- University of South Alabama

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

SAP labs Technical Paper:-

Q1. What will be output of following c program?


struct myStruct
{
int a;
char b;
}
*ptr;
int main()
{
struct myStruct ms={400,A};
printf(%d %d,ptr->a,ptr->b);
return 0;
}


a) 400 A
b) 400 65
c) 400 97
d) 0 0


ANS: d


Q2. Which is a boolean operator for logical-and?


a) &
b) &&
c) |
d) |&



Q3. What is the purpose of NOT NULL constraint?


a) allows NULL values in table
b) allow to pass NULL values in column
c) does not allow NULL values in table

, d) does not allow NULL values in column



Q4. Point out the error if any in the while loop.


main()
{
int i =0;
while()
{
printf(%d,i++);
if(i>10)
break;
}
}


a) the condition in the while loop is a must
b) the while lop must be replaced by a for loop


ANS: a


Q5. What is the output of the following program?


void main()
{
int a, *pa, &ra;
pa = &a;
ra = a;
cout «a=«a «*pa=«*pa «ra«ra ;
}


a) ra
b) ra ra ra
c) Compiler error
d) None of these

,Q6. Out of the following which is a correct comment?


a) */ Comments */
b) ** Comment **
c) /* Comment */
d) { Comment }



Q7. What will be the output of the program if the array begins at 65486 and
each integer occupies 2 bytes?


int main()
{
int arr[] = {12, 14, 15, 23, 45};
printf(%u, %u , arr+1, &arr+1);
return 0;
}


a) 12, 65490
b) 14, 65492
c) 65488, 65496
d) 64490, 65498


ANS: c


Q8. What is the command to delete an index?


a) DROP index empno.empid
b) DELETE index empno.empid
c) REMOVE index empno.empid
d) None of the above



Q9. What is the terminator that is used to terminate C++ code?

, a) . (dot)
b) ; (semi-colon)
c) : (colon)
d) (single quote)



Q10. What will be the output of the program?


#include
int main()
{
int i=3, j=4, k, l;
k = addmult(i, j);
l = addmult(i, j);
printf(%d %d , k, l);
return 0;
}
int addmult(int ii, int jj);
{
int kk, ll;
kk = ii + jj;
ll = ii * jj;
return (kk, ll);
}


a) Function addmult()return 7 and 12
b) No output
c) Error: Compile error
d) None of above


ANS: c


Q11. If int is 2 bytes wide, what will be the output of the program?


#include
void fun(char**);

Geschreven voor

Vak

Documentinformatie

Geüpload op
19 juli 2023
Aantal pagina's
35
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$19.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Timeless2024 Chamberlain College Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
3668
Lid sinds
6 jaar
Aantal volgers
3135
Documenten
2172
Laatst verkocht
6 dagen geleden
Email/DM Me for the LATEST REVISED Exams, Study Guides, Assignments, Quizzes etc. @

Number one Stop Shop for Study Guides, Exams, Assignments, Test Banks etc 2023/2024

3.9

683 beoordelingen

5
342
4
127
3
105
2
41
1
68

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen