Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jobrod
/
Test1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
756cb2fa
authored
Mar 04, 2025
by
jobrod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
06f0452c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
question2.txt
question2.txt
0 → 100644
View file @
756cb2fa
What is SQL and how is it used for?
SQL (Structured Query Language) is a programming language used to
manage databases. It is used for querying, updating,
inserting, and deleting data in databases.
How to build the connection between the physical and logical name of a file?
Think of the logical name as the file's address
(like C:\Users\Jordan\Documents\file.txt).
The operating system acts like a librarian,
translating this address into the exact spot
on the hard drive where the file is stored.
This way, you can find and use files easily
without knowing their exact physical location.
we use file handling functions like fopen(), fclose(), and pointers to build connections.
What are the functions OPEN() and CLOSE() and what are they used for?
OPEN(): This function opens the file so you can read from it or write to it.
It is used to gain access to the file's contents for various operations
like reading data, writing data, or updating the file.
CLOSE(): This function closes the file after you're done using it,
ensuring that all changes are saved and no data is lost. It is used to safely
terminate the access to the file, making sure that the file is properly saved
and no further operations can be performed on it until it is opened again.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment