زیرساخت پایدار برگزاری آزمون آنلاین
www.digiform.ir

آزمون پودمان 5 به صورت دیجی فرم

آزمون مستمر پودمان ۵ کتاب تولید محتوای الکترونیک و برنامه سازی

digiform

استفاده از اپلیکیشن ها و پیامرسان ها، پاسخ به تماس ها و استفاده از کلید های پایین موبایل مجاز نیست

زمان تکمیل این آزمون 45 دقیقه میباشد



تایید و ادامه
نام و نام خانوادگی خود را وارد نمایید *



تایید

using System; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { int x = 0; int y = 10; x = ++y; y=--x Console.WriteLine("x= {0}",x); Console.WriteLine("y= {0}", y); Console.ReadLine(); } } } مقدار x,y بعد از اجرای برنامه چیست



تایید

int number = 0; number = (1 + 9) * (3 % 2) % (6- (۲* ۵)); Console.WriteLine(number); خروجی ?



تایید

a=۱8,b=25 x=a>b?a:b; حالا مقدار x چی میشه؟



تایید

(if (a > b if (a > c) Console.WriteLine("A Value Is Greater") Console.WriteLine("A Value Is :" + a); Else // Invalide expression terms ‘else’ Console.WriteLine("C Value Is Greater"); else if (b > c) Console.WriteLine("B Value Is Greater"); else Console.WriteLine("C Value Is Greater"); a=4 b=6 c=13 خروجی را مشخص کنید.



تایید

int i = 10, j = 30; if (i > j) Console.WriteLine("i is greater than j"); else if (i < j) Console.WriteLine("i is less than j"); else if (i == j) Console.WriteLine("i is equal to j"); خروجی این برنامه چیست؟



تایید

int x if (x%2)!=0 { Console.write("adad x fard ast"); Else Console.write("adad x zoj ast"); } عملکرد این برنامه را بنویسید.



تایید

a=۱4 b=7 c=_4 x=c*2+4%a+b, y=x-x*3+2 مقدار x,y را مشخص کنید



تایید

A=20 B=3 C=(A<25. || B<=5) && false D=!(A>10 && true) مقدار C? مقدار D?



تایید

String grade = "C"; switch (grade) { case "A": Console.WriteLine("very good"); break; case "B": Console.WriteLine("good"); break; case "C": Console.WriteLine("bad"); break; case "D": Console.WriteLine("very bad");



تایید

using System; public class Program { public static void Main() { string statementType = "switch"; switch (statementType) { case "if.else": Console.WriteLine("if...else statement"); break; case "ternary": Console.WriteLine("Ternary operator"); break; case "switch": Console.WriteLine("switch statement"); break;



تایید