100% tevredenheidsgarantie Direct beschikbaar na je betaling Online lezen of als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Data Structures II - CP264 QUIZ (Q & A)

Beoordeling
-
Verkocht
-
Pagina's
29
Cijfer
A+
Geüpload op
30-08-2022
Geschreven in
2020/2021

CP264 Quiz Questions and Answers

Instelling
Vak

Voorbeeld van de inhoud

var myQuestions = [
{
"question": "Which of the following operations is not supported by C?",
"answers": {
"A": "float division",
"B": "float multiplication",
"C": "float addition",
"D": "float power"
},
"correctAnswer": "D"
},

{
"question": "Given `int a = 3 + 21;` at which time the addition computing will be done?",
"answers": {
"A": "Compiling time",
"B": "Execution time"
},
"correctAnswer": "A"
},

{
"question": "Given `int a = 3; int b = 21; int c = a+b;` the computation of a+b will be done at which time?",
"answers": {
"A": "Compiling time",
"B": "Execution time"
},
"correctAnswer": "B"
},

{
"question": "Given: `int a = 3.5 + 2.5;` the value of a will be",
"answers": {
"A": "4",
"B": "5",
"C": "6"
},
"correctAnswer": "C"
},

{
"question": "Given: `int a = 3.3 + 2.5;` the value of a will be",
"answers": {
"A": "4",
"B": "5",
"C": "6",
"D": "5.8"
},
"correctAnswer": "B"
},

{
"question": "Which of the following can lead to a wrong result of multiplication of two int type values?",
"answers": {

,"A": "underflow",
"B": "overflow",
"C": "casting",
"D": "all of these"
},
"correctAnswer": "B"
},

{
"question": "Given `int a = 3 || 2;` what is the value of a?",
"answers": {
"A": "1",
"B": "2",
"C": "3",
"D": "5"
},
"correctAnswer": "A"
},

{
"question": "Given `int a = 3 | 2;` what is the value of a?",
"answers": {
"A": "1",
"B": "2",
"C": "3",
"D": "5"
},
"correctAnswer": "C"
},

{
"question": "Given `int a = 3 ^ 2;` what is the value of a?",
"answers": {
"A": "9",
"B": "3",
"C": "2",
"D": "1"
},
"correctAnswer": "D"
},

{
"question": "Given `int a = 3 << 2;` what is the value of a?",
"answers": {
"A": "3",
"B": "6",
"C": "12",
"D": "24"
},
"correctAnswer": "C"
},

{
"question": "Given `int a = 3, b=++a;` what is the value of b?",

, "answers": {
"A": "3",
"B": "4",
"C": "2",
"D": "1"
},
"correctAnswer": "B"
},

{
"question": "Which of the following pair of statements is not equivalent?",
"answers": {
"A": "b = a++; <=> b = a; a=a+1;",
"B": "b = a++; <=> b = a+1;",
"C": "b = ++a; <=> a=a+1; b = a;",
"D": "b = ++a; <=> b = a+1; a=a+1;"
},
"correctAnswer": "B"
}


];
var myQuestions = [
{
"question": "The main function in a program defines the starting point of flow control.",
"answers": {
"A": "True",
"B": "False"
},
"correctAnswer": "A"
},

{
"question": "Calling a function will transfer the flow control to the function block.",
"answers": {
"A": "True",
"B": "False"
},
"correctAnswer": "A"
},

{
"question": "Passing by value will make a copy of the value to the function call stack.",
"answers": {
"A": "True",
"B": "False"
},
"correctAnswer": "A"
},

{
"question": "Passing by reference will make a copy of the address of a variable to function call stack.",
"answers": {
"A": "True",

Geschreven voor

Instelling
Studie
Vak

Documentinformatie

Geüpload op
30 augustus 2022
Aantal pagina's
29
Geschreven in
2020/2021
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

€7,98
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Online lezen of als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
dg22
1,0
(1)

Maak kennis met de verkoper

Seller avatar
dg22 Wilfrid Laurier University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
6
Lid sinds
3 jaar
Aantal volgers
2
Documenten
31
Laatst verkocht
3 maanden geleden

1,0

1 beoordelingen

5
0
4
0
3
0
2
0
1
1

Populaire documenten

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 Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Veelgestelde vragen