Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 1 pts The % operator stands for O Modern O Mode OModulus Module Question 2 1 pts What is the value of variable

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Question 1 1 pts The % operator stands for O Modern O Mode OModulus Module Question 2 1 pts What is the value of variable x as a result of the following C# statement? int op1-400; int op2 - 2; int x x-op1 % op2; O 2 0 1 0 Question 3 1 pts What is the value of variable x as a result of the following C# statement? int op1- 25; int op2- 2; int x; x Math.Sqrt(op1); O 1 O 0 O -1 Question 4 1 pts What is the value of variable x as a result of the following C# statement? int op2 int x 2 x Math.Pow(op1,op2) 04 O 8 O 16 Question 5 1 pts What is the value of variable x as a result of the following C# s x Max.Pow(3,2); 0 8 027 0 9 D Question 6 1 pts What is the value of variable x as a result of the following C# statement? x-Max.Sqrt(25); Question 20 1 pts What is the final value of the variablenum given the following code fragment? int xAxis = 2; int yAxis-3 int zAxis 4; nt num if (xAxis >- 1) if (yAxis >= -5) { if (zAxis ) num = XAxis * yAxis * zAxis; O 21 O 22 O 23 O 24 Question 22 1 pts What is the final value of variable myNum after the following code fragment executes? int myNum = 0; int value 2 switch (value) case 1: myNum = 99; break; case 2: myNum = 8 9 ; break; case 3: myNum79; break; case 4: myNum68 break; default: break; Question 23 1 pts What is the final value of variable myNum after the following code fragment executes? int myNum = 0; int value = 3; switch (value) case 1: myNum = 14; break; case 2: myNum = 15; break; case 3: myNum = 16; break; case 4: myNum = 17; break; default: break; | Question 29 1 pts What is the final value of the variable num given the following code fragment? int row -9; int col = 5; int num = 0; if (row

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions