Question 1 of 50
What is the primary purpose of Git?
A
To browse the internet
B
To run Python scripts
C
To edit text files
D
To version control and track changes in code
Not quite. Try another option.
Answer: To version control and track changes in code
Git is a distributed version control system used to track changes in source code during software development.
Question 2 of 50
Which command is used to initialize a new local Git repository?
A
git boot
B
git init
C
git new
D
git start
Not quite. Try another option.
Answer: git init
The 'git init' command creates a new empty Git repository or reinitializes an existing one.
Question 3 of 50
What is the difference between Git and GitHub?
A
Git is a web service, GitHub is a command line tool
B
They are the same thing
C
Git is for images, GitHub is for text
D
Git is a version control tool, GitHub is a cloud hosting service for Git repositories
Not quite. Try another option.
Answer: Git is a version control tool, GitHub is a cloud hosting service for Git repositories
Git is the local tool used for version control, while GitHub is a web-based platform that hosts Git repositories.
Question 4 of 50
Which command adds a specific file named 'index.html' to the staging area?
A
git stage index.html
B
git commit index.html
C
git add index.html
D
git push index.html
Not quite. Try another option.
Answer: git add index.html
The 'git add' command adds a change in the working directory to the staging area.
Question 5 of 50
What is the purpose of the '-m' flag in the command 'git commit -m'?
A
To provide a commit message
B
To move files
C
To merge branches
D
To modify a file
Not quite. Try another option.
Answer: To provide a commit message
The '-m' flag allows the user to associate a descriptive message with the commit to explain what changes were made.
Question 6 of 50
How do you check the current state of the working directory and staging area?
A
git check
B
git info
C
git state
D
git status
Not quite. Try another option.
Answer: git status
'git status' displays the state of the working directory and the staging area, showing which changes have been staged and which haven't.
Question 7 of 50
Which command creates a new branch named 'feature-login'?
A
git checkout feature-login
B
git new feature-login
C
git branch feature-login
D
git create feature-login
Not quite. Try another option.
Answer: git branch feature-login
The 'git branch' command followed by a name creates a new branch pointer.
Question 8 of 50
What is the purpose of creating a branch in Git?
A
To speed up the internet connection
B
To delete the repository
C
To encrypt the code
D
To work on a new feature continuously without affecting the main codebase
Not quite. Try another option.
Answer: To work on a new feature continuously without affecting the main codebase
Branching allows developers to diverge from the main line of development and continue work without messing up the main branch.
Question 9 of 50
After creating a commit, where are the changes saved?
A
In the recycle bin
B
On GitHub immediately
C
In the staging area
D
In the local repository history
Not quite. Try another option.
Answer: In the local repository history
A commit saves the changes from the staging area into the local repository's history timeline.
Question 10 of 50
To configure your username in Git, which command should you use?
A
git config --global user.name 'Your Name'
B
git identity 'Your Name'
C
git name 'Your Name'
D
git set user 'Your Name'
Not quite. Try another option.
Answer: git config --global user.name 'Your Name'
Git config is used to set configuration variables that control all aspects of how Git looks and operates.
Question 11 of 50
Artificial Intelligence (AI) is best described as:
A
A database management system
B
The study of hardware components
C
A programming language
D
Simulation of human intelligence processes by machines
Not quite. Try another option.
Answer: Simulation of human intelligence processes by machines
AI refers to the simulation of human intelligence in machines that are programmed to think like humans and mimic their actions.
Question 12 of 50
Which of the following is a real-life application of AI used in email services?
A
Displaying the date
B
Changing fonts
C
Saving drafts
D
Spam filtering
Not quite. Try another option.
Answer: Spam filtering
Email providers use AI algorithms to analyze email content and metadata to filter out spam and phishing attempts.
Question 13 of 50
What distinguishes Generative AI from traditional AI?
A
Traditional AI creates images
B
Traditional AI is faster
C
Generative AI creates new content (text, images, audio)
D
Generative AI only analyzes data
Not quite. Try another option.
Answer: Generative AI creates new content (text, images, audio)
While traditional AI often classifies or predicts based on existing data, Generative AI creates new data instances.
Question 14 of 50
Which of the following is a type of Generative AI model specifically for text?
A
LLM (Large Language Model)
B
Regression Model
C
Decision Tree
D
CNN
Not quite. Try another option.
Answer: LLM (Large Language Model)
LLMs, like GPT-4, are designed to understand and generate human-like text.
Question 15 of 50
DALL-E and Midjourney are examples of what type of Generative AI tools?
A
Code Generation
B
Text Generation
C
Audio Synthesis
D
Image Generation
Not quite. Try another option.
Answer: Image Generation
Both DALL-E and Midjourney are AI systems capable of generating images from natural language descriptions (prompts).
Question 16 of 50
Which tool is primarily known for AI-assisted text generation and conversation?
A
Figma
B
Runway Gen-2
C
ChatGPT
D
Stable Diffusion
Not quite. Try another option.
Answer: ChatGPT
ChatGPT is a chatbot and text generation tool developed by OpenAI.
Question 17 of 50
Which Generative AI tool is best suited for creating videos from text prompts?
A
GitHub Copilot
B
Grammarly
C
Sora or Runway
D
Audacity
Not quite. Try another option.
Answer: Sora or Runway
Tools like OpenAI's Sora or Runway Gen-2 specialize in generating video content from text instructions.
Question 18 of 50
What is the primary advantage of using Perplexity AI for research?
A
It provides real-time search results with citations
B
It is a social media platform
C
It writes code exclusively
D
It generates images only
Not quite. Try another option.
Answer: It provides real-time search results with citations
Perplexity AI functions as an answer engine that searches the web and provides citations for the information it retrieves.
Question 19 of 50
NotebookLM by Google is designed primarily to:
A
Create 3D models
B
Generate music
C
Edit videos
D
Interact with and analyze your own uploaded documents
Not quite. Try another option.
Answer: Interact with and analyze your own uploaded documents
NotebookLM allows users to upload documents (like PDFs) and acts as an AI research assistant grounded in those specific sources.
Question 20 of 50
JenniAI is a tool most commonly used for:
A
Academic writing and research assistance
B
Debugging Java code
C
Creating logos
D
Video conferencing
Not quite. Try another option.
Answer: Academic writing and research assistance
JenniAI is an AI writing assistant designed to help with academic papers, ensuring citations and overcoming writer's block.
Question 21 of 50
What is 'Prompt Engineering'?
A
Writing code in Python
B
Building hardware for AI
C
Installing AI software
D
The practice of designing inputs for AI models to get optimal outputs
Not quite. Try another option.
Answer: The practice of designing inputs for AI models to get optimal outputs
Prompt engineering involves crafting precise and effective text prompts to guide Generative AI models to produce desired results.
Question 22 of 50
Which of the following represents a 'Good Prompt'?
A
Tell me about space.
B
Write a story.
C
Write a 500-word science fiction story about a colony on Mars, focusing on a botanist's discovery.
D
Make it cool.
Not quite. Try another option.
Answer: Write a 500-word science fiction story about a colony on Mars, focusing on a botanist's discovery.
A good prompt is specific, provides context, sets constraints (length), and defines the topic clearly.
Question 23 of 50
An ethical concern regarding the use of Generative AI is:
A
It requires internet
B
It is too slow
C
Bias in training data leading to unfair outputs
D
It consumes too much electricity only at night
Not quite. Try another option.
Answer: Bias in training data leading to unfair outputs
AI models can inherit biases present in the data they were trained on, leading to discriminatory or unfair results.
Question 24 of 50
Figma is a platform primarily used for:
A
Hosting databases
B
Interface design (UI/UX) and prototyping
C
Version control
D
Competitive coding
Not quite. Try another option.
Answer: Interface design (UI/UX) and prototyping
Figma is a popular web-based vector graphics editor and prototyping tool used for UI/UX design.
Question 25 of 50
Stack Overflow is best described as:
A
A video hosting site
B
A Q&A community for developers
C
A version control system
D
An IDE
Not quite. Try another option.
Answer: A Q&A community for developers
Stack Overflow is a question-and-answer website for professional and enthusiast programmers.
Question 26 of 50
Which platform is primarily known for hosting competitive programming challenges and hackathons?
A
Dropbox
B
HackerRank
C
Figma
D
Pinterest
Not quite. Try another option.
Answer: HackerRank
HackerRank focuses on competitive programming challenges for both consumers and businesses.
Question 27 of 50
GeeksforGeeks is a popular resource for:
A
Social networking
B
Buying hardware
C
Computer Science tutorials and interview preparation
D
Creating 3D animations
Not quite. Try another option.
Answer: Computer Science tutorials and interview preparation
GeeksforGeeks provides articles, tutorials, and coding problems focused on computer science subjects.
Question 28 of 50
LeetCode is widely used by software engineers to:
A
Edit videos
B
Prepare for technical interviews through coding problems
C
Design logos
D
Manage project teams
Not quite. Try another option.
Answer: Prepare for technical interviews through coding problems
LeetCode is a platform for practicing coding skills and preparing for technical job interviews.
Question 29 of 50
Which command is used to switch from one branch to another in Git?
A
git select
B
git move
C
git jump
D
git switch or git checkout
Not quite. Try another option.
Answer: git switch or git checkout
To switch branches, you use 'git checkout <branch_name>' or the newer 'git switch <branch_name>'.
Question 30 of 50
What is a 'Hallucination' in the context of AI?
A
When the AI becomes sentient
B
When the AI crashes
C
When the AI runs too fast
D
When the AI generates confident but factually incorrect information
Not quite. Try another option.
Answer: When the AI generates confident but factually incorrect information
Hallucination refers to instances where an AI model generates false information that is not based on its training data or reality.
Question 31 of 50
Which tool would be best for an animation studio looking to use AI for lip-syncing avatars?
A
Excel
B
Stack Overflow
C
Synthesia
D
PowerPoint
Not quite. Try another option.
Answer: Synthesia
Synthesia is an AI video generation platform that specializes in creating AI avatars with accurate lip-syncing.
Question 32 of 50
In Prompt Engineering, what is 'Persona' adoption?
A
Hacking a user's account
B
Ignoring the AI
C
Asking the AI to act as a specific character or professional (e.g., 'Act as a Senior Developer')
D
Creating a new login
Not quite. Try another option.
Answer: Asking the AI to act as a specific character or professional (e.g., 'Act as a Senior Developer')
Assigning a persona helps the AI understand the context, tone, and level of expertise required for the response.
Question 33 of 50
HackerEarth is similar to HackerRank in that it helps with:
A
Assessment, coding interviews, and hackathons
B
Music streaming
C
Graphic Design
D
Cloud storage
Not quite. Try another option.
Answer: Assessment, coding interviews, and hackathons
HackerEarth provides enterprise software that helps organizations with technical recruitment and innovation management.
Question 34 of 50
What is the command to upload local repository content to a remote repository?
A
git pull
B
git send
C
git upload
D
git push
Not quite. Try another option.
Answer: git push
'git push' is used to upload local repository content to a remote repository.
Question 35 of 50
What file is used to tell Git which files to ignore?
A
.gitremove
B
.gitignore
C
.gitkeep
D
.gitconfig
Not quite. Try another option.
Answer: .gitignore
A .gitignore file specifies intentionally untracked files that Git should ignore.
Question 36 of 50
Which of the following is NOT a Generative AI type?
A
Text-to-Image
B
Calculator-to-Math
C
Text-to-Video
D
Text-to-Text
Not quite. Try another option.
Answer: Calculator-to-Math
Calculator-to-Math is not a standard classification of Generative AI; the others are established modalities.
Question 37 of 50
Which AI research tool uses a 'knowledge graph' approach to find connections in data?
A
NotebookLM
B
Notepad
C
Elicit or similar research tools
D
Paint
Not quite. Try another option.
Answer: Elicit or similar research tools
While Perplexity and NotebookLM are listed, tools in this category analyze research papers to find connections.
Question 38 of 50
What is a 'Zero-shot' prompt?
A
A prompt that fails
B
A prompt with no text
C
Asking the AI to do a task without providing examples
D
A prompt meant for image generation only
Not quite. Try another option.
Answer: Asking the AI to do a task without providing examples
Zero-shot prompting involves giving the model a task to perform without any prior examples of how to do it.
Question 39 of 50
Why is creating a professional profile on GitHub important for developers?
A
To store large video files
B
To play games
C
To get more likes
D
To serve as a portfolio of code and collaboration history for recruiters
Not quite. Try another option.
Answer: To serve as a portfolio of code and collaboration history for recruiters
A GitHub profile acts as a resume for developers, showcasing their actual coding skills and contributions.
Question 40 of 50
Which of the following is a popular Text-to-Image model developed by Stability AI?
A
Llama 2
B
Stable Diffusion
C
GPT-4
D
Bard
Not quite. Try another option.
Answer: Stable Diffusion
Stable Diffusion is a deep learning, text-to-image model released by Stability AI.
Question 41 of 50
When using AI for coding (e.g., via GitHub Copilot), an ethical developer should:
A
Ignore security warnings
B
Copy paste without looking
C
Claim the code is entirely their own
D
Review, test, and understand the code before using it
Not quite. Try another option.
Answer: Review, test, and understand the code before using it
AI can generate insecure or incorrect code; developers must verify it.
Question 42 of 50
What command allows you to download an existing remote repository to your local machine?
A
git fork
B
git download
C
git copy
D
git clone
Not quite. Try another option.
Answer: git clone
'git clone' creates a copy of an existing Git repository.
Question 43 of 50
Which symbol is often used in a prompt to indicate a variable or placeholder?
A
@
B
#
C
$
D
[ ] or { }
Not quite. Try another option.
Answer: [ ] or { }
Brackets are commonly used in prompt engineering templates to indicate where specific information should be inserted.
Question 44 of 50
What is the main benefit of using NotebookLM over a standard chat bot?
A
It generates 4K video
B
It has access to the entire dark web
C
It is funnier
D
It is grounded in the specific sources you upload
Not quite. Try another option.
Answer: It is grounded in the specific sources you upload
NotebookLM restricts its answers to the context of the documents provided, reducing hallucinations.
Question 45 of 50
Which platform uses a 'reputation points' system to grade user contributions?
A
Notepad++
B
Paint
C
Stack Overflow
D
Git Bash
Not quite. Try another option.
Answer: Stack Overflow
Stack Overflow rewards users with reputation points for asking good questions and providing helpful answers.
Question 46 of 50
In the context of AI, what does NLP stand for?
A
Network Latency Ping
B
Neural Linguistic Programming
C
Natural Language Processing
D
New Learning Protocol
Not quite. Try another option.
Answer: Natural Language Processing
NLP is a branch of AI concerned with the interactions between computers and human language.
Question 47 of 50
A 'poor prompt' usually suffers from:
A
Being polite
B
Using correct grammar
C
Being too long
D
Vagueness and lack of context
Not quite. Try another option.
Answer: Vagueness and lack of context
Vague prompts lead to generic or irrelevant outputs because the AI doesn't know exactly what is required.
Question 48 of 50
Which command lists all the branches in your repository?
A
git list
B
git show
C
git branch
D
git all
Not quite. Try another option.
Answer: git branch
Running 'git branch' without arguments lists local branches.
Question 49 of 50
What is the role of a 'Diff' in version control?
A
To run the program
B
To show the difference between two versions of a file
C
To delete files
D
To compile code
Not quite. Try another option.
Answer: To show the difference between two versions of a file
A diff function shows the changes line-by-line between commits or the working tree.
Question 50 of 50
Which tool is used for AI-generated music and audio?
A
Suno or Udio
B
PowerBI
C
Excel
D
GitHub
Not quite. Try another option.
Answer: Suno or Udio
Suno and Udio are examples of generative AI tools specifically designed to create music and audio.