19) What will be the output of the following JavaScript
code?
for(var x = 1; x < 5; x++)
console.log(x);
a) 11111
b) 12345
c) 1234
d) 5555
20) What will be the output of the following JavaScript
code?
var x = 0
do{ console.log(x) }while(x > 0)
a) 0
b) null
c) 1
d) No output
quiz 3
4) Which of the following is an entry point of ASP.NET Core application?
a) Main method of Program class
b) Configure method of Startup class
c) ConfigureService method of Startup class
d) Application_start method of Global.asax
5) By default, static files can be served from __________ folder.
a) bin
b) wwwroot
c) Any folder under the root folder
d) StaticFiles
6) The host for ASP.NET Core web application is configured in _________ file.
a) Program.cs
b) Startup.cs
c) Middleware
d) None of the above
7) ASP.NET Core web application uses __________ as an internal web server by default.
a) IIS
b) Apache
c) Kestrel
d) nginx
Ans 19)
c) 1234
loop start form 1 and goes less then 5 so it will goes from 1 to 4 and print 1234 .
Ans 19)
a) 0
its a exit control loop so it first print the 0 and then check x is greater then zero or not and x is 0 so it will exit the loop so its only prints the 0;
4)
b) Configure method of Startup class
5)
b) wwwroot
6)
a) Program.cs
7)
a) IIS
If you have any query regarding the answer please ask me in the
comment i am here for help you. Please do not direct thumbs down
just ask if you have any query. And if you like my work then please
appreciates with up vote. Thank You.
Get Answers For Free
Most questions answered within 1 hours.