wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz on Visual Studio Code and SQL

Total questions: 19

Worksheet time: 47mins

Name
Class
Date
1.

What is the main purpose of an IDE such as Visual Studio Code? Cili është qëllimi kryesor i një IDE-je si Visual Studio Code?

a)

To store databases / Për të ruajtur databaza

b)

To run only compiled programs / Për të ekzekutuar vetëm programe të kompiluar

c)

To help developers write, run, debug, and manage code / Për të ndihmuar zhvilluesit të shkruajnë, debug-ojnë dhe menaxhojnë kodin

d)

To replace programming languages / Për të zëvendësuar gjuhët programuese

2.

Which VS Code feature allows you to pause execution and inspect variables? Cila veçori e VS Code lejon ndalimin e ekzekutimit dhe inspektimin e variablave?

a)

Terminal

b)

Breakpoints

c)

Extensions

d)

File Explorer

3.

In worksheet analysis, what represents inputs? Në analizën e worksheet-it, çfarë përfaqëson input-in?

a)

If–else rules/rregullat

b)

Calculations/kalkulimet

c)

User-provided values/vlerat e dhëna nga përdoruesi

d)

Printed output/rezultati i printuar

4.

Which Python construct is used to make decisions? Cili konstrukt i Python përdoret për vendimmarrje?

a)

for

b)

def

c)

if/elif/else

d)

print

5.

What type of database is SQLite? Çfarë lloji databaze është SQLite?

a)

Cloud-only

b)

Server-based

c)

File-based lightweight

d)

Spreadsheet editor

6.

Name two advantages of using Visual Studio Code. Përmendni dy përparësi të përdorimit të Visual Studio Code

4 lines
7.

Explain what worksheet analysis means. Shpjegoni çfarë nënkupton analiza e worksheet-it.

4 lines
8.

Write Python + SQL query that would select all students with higher grade than 80? Shkruaj një query përmes Python që selekton të gjithë nxënësit me pikë më të madhe se 80

4 lines
9.

Which SQL command retrieves data from a database? Cila komandë SQL përdoret për të marrë të dhëna nga databaza?

a)

INSERT

b)

UPDATE

c)

DELETE

d)

SELECT

10.

What type of testing focuses on individual functions or modules? Cili lloj testimi fokusohet në funksione ose module individuale?

a)

Integration |Testing

b)

Functional Testing

c)

Unit Testing

d)

Boundary Testing

11.

Boundary testing focuses on: / Boundary testing fokusohet në:

a)

Valid Inputs only

b)

Extreme or limit values/ Vlerat në limite ose ekstreme

c)

User interface design/Dizajnin e ndërfaqes së përdoruesit

d)

Database performance/Performancën e databazës

12.

Write a Python + SQL query that would insert a student named Arta with grade 92 into table named "studentat"./ Shkruaj një Python + SQL query që do të shtonte një studente me emrin Arta dhe 92 pikë në tabelën "studentat"

4 lines
13.

Which error occurs when code runs but produces wrong results?/ Cili gabim ndodh kur kodi ekzekutohet por jep rezultate të pasakta?

a)

Syntax error

b)

Runtime error

c)

Logic error

d)

Import error

14.

What is the purpose of integration testing?/ Cili është qëllimi i integration testing?

4 lines
15.

Describe one common cause of a runtime error in Python. / Përshkruani një shkak të zakonshëm të një runtime error në Python

4 lines
16.

Why should database connections be closed after use? Pse duhet të mbyllen lidhjet me databazën pas përdorimit?

4 lines
17.

Give one example of a test case for a program that accepts user input. /Jepni një shembull të një test case për një program që pranon input nga përdoruesi.

4 lines
18.

Explain why debugging is part of the testing process. /Shpjegoni pse debugging konsiderohet pjesë e procesit të testimit.

4 lines
19.

Write down a library that enables Python to communicate with databases. / Shkruani një librari që mundëson që Python të komunikojë me databaza.

4 lines