CBSE XII Computer Science (083)
Computational Thinking and Programming Computer Networks Database Management
Computational Thinking and Programming Computer Networks Database Management
Binary Files: In Python, a binary file is a file that contains textual and non-textual data, such as images, audio files, video files, and executable programs. Binary files are usually opened in binary mode to avoid any character encoding issues, and they can be read and written using the built-in file handling functions.1) It stores …
Text Files: In Python, a text file is a file that contains human-readable text. Text files are usually created with a text editor, and they can be read and written in Python using the built-in file handling functions.1) They store information in the form of ASCII/Unicode characters.2) Each line of text is terminated or delimited …
File: In Python, a file is a named area on disk or in memory used to store data permanently. A file can be used to store text, binary data, or other types of data. Python provides built-in functions and methods for working with files, which allows you to open, create, read, write, append, modify and …
CSV (Comma Separated Values) Files: CSV Files stores a tabular data that has been saved as a plaintext, where data is separated by commas. It follows two rules:1) Number of rows in CSV File = Number of rows in table2) Comma , appears after every field (except the last field) RollNo Name Marks 1 Sheetal …
Import Export Data between CSV files and Data Frame in Python Read More »
Library Needed: We need any one of the following library to connect to the MySQL database with Python.1) mysql.connector : It is a library provided by oracle2) pymysql : It is pure Python library. Steps of Connectivity:1) Start Python2) Import the required library.3) Open a Connection4) Create a cursor instance.5) Execute the SQL query.6) Extract …
Introduction to Computer System Introduction to Python Database concepts and the Structured Query Language Emerging Trends Artificial Intelligence, Machine Learning, Natural Language Processing, Immersive experience (AR, VR), Robotics, Big data and its characteristics, Internet of Things (IoT), Sensors, Smart cities, Cloud Computing and Cloud Services (SaaS, IaaS, PaaS); Grid Computing, block chain technology.
Computer Systems and Organisation Computational Thinking and Programming Society, Law and Ethics
Conditional Statements: It tests a condition and executes a particular statement or a group of statements depending upon the result of the condition. It is a compound statement i.e. it contains other statements. Python supports following types of conditional statements1) if2) if else3) if elif else4) Nested if else if statement: It tests a condition …
Operating System (OS) It is an interface between a computer user and computer hardware. It enables applications/softwares to interact with a computer’s hardware. Its purpose is to manage a system’s hardware and software resources. It is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and …