NEW
Font size
WorksheetsSummer Code Camp - Lesson 1
Total questions: 10
Worksheet time: 60secs
Which command initializes a new Git repository?
git new
git create
git init
git start
How can you view the commit history in Git?
git status
git log
git history
git commit
Which command shows the status of changes in the repository?
git status
git commit
git view
git log
Git command help you find a file in your commit file
git grep
git find
git log
git show
How do you supply a commit message to a commit?
git add "My first commit"
git commit -m "I'm coding!"
git commit "My first commit"
git add -m "My first commit"
In C#, the multi-line comments placed within the ___.
// and //
\\ and //
<!-- and -->
/* and */
Which is the correct C# statement to convert a float value to int explicitly?
int_variable = (int) float_variable;
int_variable = float_variable;
int_variable = (int) (float_variable);
int_variable = int *float_variable);
What will be the output of the program?
30
30.5
Compile-time error
Runtime error
’Implicit Conversion’ follows the order of conversion as per compatibility of datatype as :
float > char > int
char > int > float
int > char > float
float > int > char
Which of the conversions are valid for the given set of code?
c = a, b = c
b = a, c = a
a = c, b = a
All of the mentioned
