NEW
Font size
Worksheetscoding
Total questions: 25
Worksheet time: 13mins
If you print a variable with post-increment,
what value shows first?
New value
Old value
Undefined
Error
If one condition is TRUE and another if FALSE in logical AND , result is.....?
1
0
First condition
Second condition
Correct way to declare a pointer to an int:
int **p = &x;
pointer p = &x;
int *p = &x;
int p = &x;
If a loop runs while i < 3 and increments i each time, the final value of i is:
0
1
2
3
An array of 4 integers has how many elements?
4
8
32
16
I speak in 1s and 0s, but I am not a robot. What am I?
Computer
Binary
Loop
Algorithm
I can repeat your work again and again without getting tired. Who am I?
Variable
Loop
Array
Keyboard
I store data, but I am not a cupboard. What am I?
Class
Array
Variable
Operator
I remove mistakes from code but I am not an eraser. Who am I?
Compiler
Debugger
Interpreter
Algorithm
I decide what to do when conditions are true or false. Who am I?
Loop
If -else
Array
Variable
join two strings together, but I am not glue. What am I?
Condition
Concatenation
Operator
Keyword
I change high-level language into machine code. Who am I?
Interpreter
Compiler
Assembler
Debugger
I execute code line by line. Who am I?
Compiler
Linker
Interpreter
Variable
I am a popular code editor made by Microsoft. Who am I?
Sublime Text
VS code
WordPad
Notepad
To run a program in VS Code, we usually use:
Terminal
Debug Panel
Explorer
Extensions
Which file do you usually run first in VS Code for a C program?
readme.txt
hello.cpp
Main.c
index.html
Which button is used to run/debug code in VS Code?
▶ (Play Button)
❌ (Close Button)
⏸ (Pause Button)
💾 (Save Button)
Which VS Code feature shows errors or warnings in code?
Terminal
Problems Panel
Explorer
Output
VS Code is mainly used for:
Video Editing
Coding and Debugging
Browsing the Internet
Watching Movies
Shortcut to open Command Palette in VS Code is:
Ctrl + P
Ctrl + Shift + P
Ctrl + C
Ctrl + V
Which company developed Visual Studio?
Microsoft
Apple
Oracle
Which built-in tool helps in managing project versions in Visual Studio?
Git
SVN
Dropbox
OneDrive
GitHub Copilot is powered by:
Microsoft Azure only
GitHub & OpenAI
Google AI
Amazon Web Services
Visual Studio YouTube Channel is useful for:
Gaming videos
Beginner tutorials & tips
Movie trailers
Music streaming
Books and online courses for Visual Studio can be found on:
Udemy & Coursera
TikTok
Netflix
