This document contains a student's experiment report on counting the number of words and repeated words in a text file. It includes the student's name, roll number, batch, experiment number and title. It also includes the algorithm written as steps to open and read the file, split it into words, count the total words and number of repeated words, and print the outputs. The program output shows the total count of 54 words and dictionary with counts of each unique word.
This document discusses various ways of performing file input/output operations in C++ using ifstream, ofstream, and fstream. It shows how to open files for reading and writing, write data to files including strings and objects, read data from files, and check if files were opened successfully. Examples demonstrate opening files, writing hello world and lines of text to files, reading files line by line, appending data to files, and writing/reading class objects to files by serializing object data. The document provides guidance on common file I/O tasks in C++.
MessagePack - An efficient binary serialization formatLarry Nung
The document discusses MessagePack, an efficient binary serialization format that is like JSON but faster and more compact. It describes MessagePack's format which uses a single byte to identify the type of data, such as integers, floats, booleans, strings, arrays and maps. It also demonstrates how to serialize and deserialize objects to and from MessagePack format using the MsgPack.Cli library in C#. Finally, it compares the performance of MessagePack to Protocol Buffers by measuring the size and speed of serializing and deserializing different amounts of data.
The document is an assignment submission for an HCI topic on user interaction. It was submitted by Muhammad Jamil, with roll number BCS(M)-14-57 from BZU Sub Campus Sahiwal, to Sir Rehan Faheem on October 7, 2016. The assignment involves coding in Java to write text to a file called "jamil.txt" and then read the text from that file.
This document discusses using Codable types in Kitura to build RESTful APIs with routing in Swift. It introduces JSON encoding and decoding using Codable, shows examples of defining Codable model types and implementing GET, POST, and query parameter handlers, and discusses benefits like type safety, code sharing between backend and clients.
This document contains C# code that connects to a SQL database, retrieves student and class data from tables, and displays it in a Windows Forms application. It opens a SQL connection, uses SQL data adapters to fill DataTables with data from "HocSinh" and "Lop" tables, sets the DataTables as data sources for a data grid view and combo box. It also includes an event handler that populates text boxes with selected row data from the grid.
This document contains code for a cash register program in C++. The code prompts the user to input order details like customer name, number of items ordered, item codes, quantities, and calculates the total, payment received, and change due. It uses arrays to store item details for multiple orders, loops through to calculate subtotals and total, and displays an order receipt. The program allows the user to input another order by returning to the beginning or ends the program.
This document contains a student's experiment report on counting the number of words and repeated words in a text file. It includes the student's name, roll number, batch, experiment number and title. It also includes the algorithm written as steps to open and read the file, split it into words, count the total words and number of repeated words, and print the outputs. The program output shows the total count of 54 words and dictionary with counts of each unique word.
This document discusses various ways of performing file input/output operations in C++ using ifstream, ofstream, and fstream. It shows how to open files for reading and writing, write data to files including strings and objects, read data from files, and check if files were opened successfully. Examples demonstrate opening files, writing hello world and lines of text to files, reading files line by line, appending data to files, and writing/reading class objects to files by serializing object data. The document provides guidance on common file I/O tasks in C++.
MessagePack - An efficient binary serialization formatLarry Nung
The document discusses MessagePack, an efficient binary serialization format that is like JSON but faster and more compact. It describes MessagePack's format which uses a single byte to identify the type of data, such as integers, floats, booleans, strings, arrays and maps. It also demonstrates how to serialize and deserialize objects to and from MessagePack format using the MsgPack.Cli library in C#. Finally, it compares the performance of MessagePack to Protocol Buffers by measuring the size and speed of serializing and deserializing different amounts of data.
The document is an assignment submission for an HCI topic on user interaction. It was submitted by Muhammad Jamil, with roll number BCS(M)-14-57 from BZU Sub Campus Sahiwal, to Sir Rehan Faheem on October 7, 2016. The assignment involves coding in Java to write text to a file called "jamil.txt" and then read the text from that file.
This document discusses using Codable types in Kitura to build RESTful APIs with routing in Swift. It introduces JSON encoding and decoding using Codable, shows examples of defining Codable model types and implementing GET, POST, and query parameter handlers, and discusses benefits like type safety, code sharing between backend and clients.
This document contains C# code that connects to a SQL database, retrieves student and class data from tables, and displays it in a Windows Forms application. It opens a SQL connection, uses SQL data adapters to fill DataTables with data from "HocSinh" and "Lop" tables, sets the DataTables as data sources for a data grid view and combo box. It also includes an event handler that populates text boxes with selected row data from the grid.
This document contains code for a cash register program in C++. The code prompts the user to input order details like customer name, number of items ordered, item codes, quantities, and calculates the total, payment received, and change due. It uses arrays to store item details for multiple orders, loops through to calculate subtotals and total, and displays an order receipt. The program allows the user to input another order by returning to the beginning or ends the program.
This C++ program defines an inventory class with data members to store item name, quantity, price, and total amount. It uses file handling operations to write inventory objects to a text file and read from the file to display the stored data. The main function contains a menu to allow the user to choose between writing data to the file, reading from the file to display the stored items, or exiting the program.
Groovy and MongoDB are well-suited for each other because Groovy is a more concise way to write Java code and MongoDB is a flexible, schemaless database. Groovy allows dynamic queries of MongoDB through dynamic finders that parse method names to build queries without a predefined schema. Several projects use Groovy and MongoDB together effectively.
This Java program reads a file and displays each line along with its corresponding line number. It uses a FileInputStream to open the file, a LineNumberReader to read the file line by line and get the line number, and prints each line and number. It also prints the total number of lines in the file. Any exceptions are caught and printed.
Java Development with MongoDB (James Williams)MongoSF
This document discusses various ways to interact with MongoDB from Java, including using the Java driver directly, Morphia for object mapping, and utilities for Groovy. It covers making connections, working with collections, inserting and querying documents, GridFS for files, mapping objects with Morphia, and plugins for Grails. It also briefly mentions dynamic finders and metaprogramming capabilities in Groovy.
The document discusses how to use the MongoDB shell, which is a JavaScript interpreter with built-in support for connecting to MongoDB. It describes how the shell can be used for interactive development, testing, administration, and learning MongoDB. It provides details on running the shell, helpers, completion, editing, getting help, and working with cursors. It also notes some gotchas with using JavaScript and recommends further resources for using MongoDB.
This code defines a class that connects to a SQL database to perform CRUD operations on a student details table. It opens a connection, populates a dropdown with student IDs from the table. It allows updating, inserting, deleting and retrieving a student's details by ID, and displays the results in a grid view. Buttons trigger methods for each database operation like update, insert, delete, retrieve.
The document describes the execution context stack during code execution. It shows the global execution context at the top containing the global lexical environment. Below it are lexical environments for loop execution and function calls, each with their own environment records and bindings. As the code runs, new execution contexts and lexical environments are added to and removed from the stack as needed for each block of code.
This document discusses various C++ concepts including tokens, data types, reference variables, operators, memory management, manipulators, and type casting. It defines keywords, identifiers, constants, basic and user-defined data types. It also covers reference variables, operators like scope resolution and pointer to member, and memory management operators like new and delete. Finally, it briefly mentions manipulators, type casting, and control structures.
Go is a programming language created by Google in 2009. It is designed to be simple, efficient, and safe. Some key features of Go include garbage collection, strong typing, concurrency support through goroutines, and a rich standard library. The document provides examples of basic Go programs and highlights aspects of the language like pointers, structs, interfaces, channels, and testing and benchmarking tools.
Cross-origin resource sharing (CORS) allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served. CORS uses additional HTTP headers to allow a server to describe which origins are permitted to read that information using a web browser. Browsers restrict cross-origin HTTP requests initiated from scripts for security reasons. CORS provides a secure way to allow some cross-origin requests while disallowing others. Making CORS requests involves using the XMLHttpRequest or XDomainRequest objects and handling events like onload and onerror.
The document discusses file input/output (I/O) operations in Java. It covers listing files in a directory, checking the number of files and folders, creating/deleting/renaming files, copying files, reading text files, and using interfaces and polymorphism for calculating total volume and weight from a data file. The key classes covered are File, FileReader, BufferedReader, and examples of implementing interfaces Volume and Weight for different item types.
Thinking in Sequences - Streams in Node.js & IO.jsArtur Skowroński
Presentation from Krakow Meet.js, 19 March 2015. Presentation about Stream implementation in Node.js and IO.js. Covers Streams1, Streams2 and Streams3. Video is coming :)
http://www.meetup.com/KrakowJS/events/220826803/
The document contains code for a form with 10 text boxes. ToolStripButton1 searches a file and fills the text boxes with data from the file if there is a match on text box 1. ToolStripButton3 clears all the text boxes. ToolStripButton2 appends the contents of the first 4 text boxes to the file.
The document discusses Groovy and Grails. Groovy is a dynamic language for the JVM that is inspired by languages like Python and Ruby. It allows seamless integration with Java classes and libraries. Grails is a web framework for Groovy that is inspired by Ruby on Rails. It uses Spring MVC, Hibernate, and other technologies to provide features like auto-generation of code and integration with databases. The document provides examples of using closures, dynamic methods, lists, and maps in Groovy and generating applications using Grails.
The document discusses separating a class definition into header and implementation files to make the class reusable. The class declaration is defined in a header file with a .h extension, member functions are defined in a cpp file with the same name and a .cpp extension, and a main.cpp file includes the header and contains the main function to test the class. This separation allows the class interface to be shared while hiding implementation details.
The document discusses several new features introduced in Swift 4 including multi-line string literals, improvements to strings and collections, private access control, smart keypaths, existentials, one-sided ranges, and limiting automatic @objc inference. It also introduces the Codable protocol for encoding and decoding types to and from data, which provides a standard way to serialize and deserialize objects to formats like JSON.
To Infinity & Beyond: Protocols & sequences in Node - Part 2Bahul Neel Upadhyaya
This document summarizes Bahul Neel Upadhyaya's presentation on protocols and lazy sequences in Node using the Cosy library. The presentation introduces concepts like protocols, lazy sequences, tail recursion and object metadata. It provides an example of implementing term frequency-inverse document frequency (TF-IDF) using Cosy. It also describes making sequences asynchronous and integrating Socket.IO for both server and client to demonstrate streaming TF-IDF results over the network. Future work mentioned includes queues, persistent data structures and graphs.
This document discusses file handling in C++. It defines a file as a collection of related data stored in a particular area on a disk. It describes why files are used to permanently store data for future use or transfer between computers. It discusses the different stream classes like fstream, ifstream and ofstream used for file input/output. It explains how to open, close and manipulate file pointers to read and write data from files using functions like open(), close(), read(), write(), seekg() and tellg(). It provides an example program that demonstrates writing student data to a file and reading from it based on roll number.
This document provides examples of using Powershell to summarize processes. It demonstrates how to use functions, script blocks, New-Object, Format-Table, and ConvertTo-Html. Examples are given to retrieve process information, create objects to store the data, and format the output in tables or HTML. Filter functions are also introduced using begin, process, and end blocks to filter input.
The Ring programming language version 1.6 book - Part 13 of 189Mahmoud Samir Fayed
The document summarizes the new features and changes in Ring 1.6 and Ring 1.4.1. Some key points include:
- Ring 1.6 includes natural language programming capabilities through the Natural Library, allowing code to be written in plain English. It also includes improvements to libraries for SQLite, OpenSSL, and internet functions.
- Ring 1.4.1 focuses on improvements to building Ring from source code, colors in the Ring Notepad style, functions in the standard library, and functions in the RingQt library. A sixteen puzzle sample application is also included.
- Both versions update libraries and add new functions for common tasks like formatting, dates, and dialogs. Documentation is provided on
This document provides steps to enable SSL/HTTPS for an Elasticsearch server. It involves generating certificates, configuring Elasticsearch, and enabling TLS for both transport and HTTP layers. The process includes generating a CA certificate, creating node certificates signed by the CA, editing the Elasticsearch configuration file, and restarting Elasticsearch to enable HTTPS.
Anti lock braking (ABS) Model based Design in MATLAB-SimulinkOmkar Rane
This document describes the modeling and simulation of an anti-lock braking system (ABS) using Simulink. It includes models of vehicle dynamics, wheel dynamics, and a simplified ABS controller. The vehicle model accounts for mass, friction forces, and acceleration. The wheel model includes torque from braking and friction. Simulation results show wheel slip and stopping distance with and without the ABS controller engaged. The ABS system helps maintain optimal slip to minimize stopping distance.
This C++ program defines an inventory class with data members to store item name, quantity, price, and total amount. It uses file handling operations to write inventory objects to a text file and read from the file to display the stored data. The main function contains a menu to allow the user to choose between writing data to the file, reading from the file to display the stored items, or exiting the program.
Groovy and MongoDB are well-suited for each other because Groovy is a more concise way to write Java code and MongoDB is a flexible, schemaless database. Groovy allows dynamic queries of MongoDB through dynamic finders that parse method names to build queries without a predefined schema. Several projects use Groovy and MongoDB together effectively.
This Java program reads a file and displays each line along with its corresponding line number. It uses a FileInputStream to open the file, a LineNumberReader to read the file line by line and get the line number, and prints each line and number. It also prints the total number of lines in the file. Any exceptions are caught and printed.
Java Development with MongoDB (James Williams)MongoSF
This document discusses various ways to interact with MongoDB from Java, including using the Java driver directly, Morphia for object mapping, and utilities for Groovy. It covers making connections, working with collections, inserting and querying documents, GridFS for files, mapping objects with Morphia, and plugins for Grails. It also briefly mentions dynamic finders and metaprogramming capabilities in Groovy.
The document discusses how to use the MongoDB shell, which is a JavaScript interpreter with built-in support for connecting to MongoDB. It describes how the shell can be used for interactive development, testing, administration, and learning MongoDB. It provides details on running the shell, helpers, completion, editing, getting help, and working with cursors. It also notes some gotchas with using JavaScript and recommends further resources for using MongoDB.
This code defines a class that connects to a SQL database to perform CRUD operations on a student details table. It opens a connection, populates a dropdown with student IDs from the table. It allows updating, inserting, deleting and retrieving a student's details by ID, and displays the results in a grid view. Buttons trigger methods for each database operation like update, insert, delete, retrieve.
The document describes the execution context stack during code execution. It shows the global execution context at the top containing the global lexical environment. Below it are lexical environments for loop execution and function calls, each with their own environment records and bindings. As the code runs, new execution contexts and lexical environments are added to and removed from the stack as needed for each block of code.
This document discusses various C++ concepts including tokens, data types, reference variables, operators, memory management, manipulators, and type casting. It defines keywords, identifiers, constants, basic and user-defined data types. It also covers reference variables, operators like scope resolution and pointer to member, and memory management operators like new and delete. Finally, it briefly mentions manipulators, type casting, and control structures.
Go is a programming language created by Google in 2009. It is designed to be simple, efficient, and safe. Some key features of Go include garbage collection, strong typing, concurrency support through goroutines, and a rich standard library. The document provides examples of basic Go programs and highlights aspects of the language like pointers, structs, interfaces, channels, and testing and benchmarking tools.
Cross-origin resource sharing (CORS) allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served. CORS uses additional HTTP headers to allow a server to describe which origins are permitted to read that information using a web browser. Browsers restrict cross-origin HTTP requests initiated from scripts for security reasons. CORS provides a secure way to allow some cross-origin requests while disallowing others. Making CORS requests involves using the XMLHttpRequest or XDomainRequest objects and handling events like onload and onerror.
The document discusses file input/output (I/O) operations in Java. It covers listing files in a directory, checking the number of files and folders, creating/deleting/renaming files, copying files, reading text files, and using interfaces and polymorphism for calculating total volume and weight from a data file. The key classes covered are File, FileReader, BufferedReader, and examples of implementing interfaces Volume and Weight for different item types.
Thinking in Sequences - Streams in Node.js & IO.jsArtur Skowroński
Presentation from Krakow Meet.js, 19 March 2015. Presentation about Stream implementation in Node.js and IO.js. Covers Streams1, Streams2 and Streams3. Video is coming :)
http://www.meetup.com/KrakowJS/events/220826803/
The document contains code for a form with 10 text boxes. ToolStripButton1 searches a file and fills the text boxes with data from the file if there is a match on text box 1. ToolStripButton3 clears all the text boxes. ToolStripButton2 appends the contents of the first 4 text boxes to the file.
The document discusses Groovy and Grails. Groovy is a dynamic language for the JVM that is inspired by languages like Python and Ruby. It allows seamless integration with Java classes and libraries. Grails is a web framework for Groovy that is inspired by Ruby on Rails. It uses Spring MVC, Hibernate, and other technologies to provide features like auto-generation of code and integration with databases. The document provides examples of using closures, dynamic methods, lists, and maps in Groovy and generating applications using Grails.
The document discusses separating a class definition into header and implementation files to make the class reusable. The class declaration is defined in a header file with a .h extension, member functions are defined in a cpp file with the same name and a .cpp extension, and a main.cpp file includes the header and contains the main function to test the class. This separation allows the class interface to be shared while hiding implementation details.
The document discusses several new features introduced in Swift 4 including multi-line string literals, improvements to strings and collections, private access control, smart keypaths, existentials, one-sided ranges, and limiting automatic @objc inference. It also introduces the Codable protocol for encoding and decoding types to and from data, which provides a standard way to serialize and deserialize objects to formats like JSON.
To Infinity & Beyond: Protocols & sequences in Node - Part 2Bahul Neel Upadhyaya
This document summarizes Bahul Neel Upadhyaya's presentation on protocols and lazy sequences in Node using the Cosy library. The presentation introduces concepts like protocols, lazy sequences, tail recursion and object metadata. It provides an example of implementing term frequency-inverse document frequency (TF-IDF) using Cosy. It also describes making sequences asynchronous and integrating Socket.IO for both server and client to demonstrate streaming TF-IDF results over the network. Future work mentioned includes queues, persistent data structures and graphs.
This document discusses file handling in C++. It defines a file as a collection of related data stored in a particular area on a disk. It describes why files are used to permanently store data for future use or transfer between computers. It discusses the different stream classes like fstream, ifstream and ofstream used for file input/output. It explains how to open, close and manipulate file pointers to read and write data from files using functions like open(), close(), read(), write(), seekg() and tellg(). It provides an example program that demonstrates writing student data to a file and reading from it based on roll number.
This document provides examples of using Powershell to summarize processes. It demonstrates how to use functions, script blocks, New-Object, Format-Table, and ConvertTo-Html. Examples are given to retrieve process information, create objects to store the data, and format the output in tables or HTML. Filter functions are also introduced using begin, process, and end blocks to filter input.
The Ring programming language version 1.6 book - Part 13 of 189Mahmoud Samir Fayed
The document summarizes the new features and changes in Ring 1.6 and Ring 1.4.1. Some key points include:
- Ring 1.6 includes natural language programming capabilities through the Natural Library, allowing code to be written in plain English. It also includes improvements to libraries for SQLite, OpenSSL, and internet functions.
- Ring 1.4.1 focuses on improvements to building Ring from source code, colors in the Ring Notepad style, functions in the standard library, and functions in the RingQt library. A sixteen puzzle sample application is also included.
- Both versions update libraries and add new functions for common tasks like formatting, dates, and dialogs. Documentation is provided on
This document provides steps to enable SSL/HTTPS for an Elasticsearch server. It involves generating certificates, configuring Elasticsearch, and enabling TLS for both transport and HTTP layers. The process includes generating a CA certificate, creating node certificates signed by the CA, editing the Elasticsearch configuration file, and restarting Elasticsearch to enable HTTPS.
Anti lock braking (ABS) Model based Design in MATLAB-SimulinkOmkar Rane
This document describes the modeling and simulation of an anti-lock braking system (ABS) using Simulink. It includes models of vehicle dynamics, wheel dynamics, and a simplified ABS controller. The vehicle model accounts for mass, friction forces, and acceleration. The wheel model includes torque from braking and friction. Simulation results show wheel slip and stopping distance with and without the ABS controller engaged. The ABS system helps maintain optimal slip to minimize stopping distance.
The document discusses Autosar's layered architecture and communication capabilities. It describes the layered architecture with basic software, runtime environment and application layers. The runtime environment implements a virtual function bus to allow software components to communicate within and across ECUs. Communication can be intra-ECU, inter-ECU, or inter-partition. The runtime environment uses services like AUTOSAR COM and IOC to enable different types of communication.
The document discusses stress, its causes and effects, and strategies for managing stress. It defines stress as the body's response to any physical or mental demand, which can be triggered by events or thoughts that make one feel frustrated, angry or nervous. Both moderate and excessive stress can impact one's physical and emotional health negatively. While stress is a normal experience, anxiety involves worrying and affects one's lifestyle longer term. The document recommends stress management techniques like relaxation exercises, physical activity, meditation and counseling to improve physical, emotional and cognitive functioning.
This document discusses bootloaders for embedded systems. It defines a bootloader as the first code executed after a system powers on or resets that is responsible for loading the operating system kernel. The document then describes the tasks of a bootloader like initializing hardware, loading binaries from storage, and providing a shell. It outlines the booting process differences between desktops and embedded systems. Finally, it focuses on the universal bootloader U-Boot, describing its directory structure, configuration, building process, and commands.
Concept of Diversity & Fading (wireless communication)Omkar Rane
This document discusses concepts related to fading and diversity in wireless communication systems. It introduces fading as signal variations caused by multipath interference from multiple signal propagation paths. It describes two types of fading: large-scale fading due to path loss and shadowing, and small-scale fading which includes fast fading due to mobility and slow fading due to shadowing. It also discusses different diversity techniques that can be used to combat fading, including space, polarization, frequency and time diversity.
The document describes several projects completed as part of a semester-long internship at Tata Motors. The projects include:
1. Developing a vendor chatbot using Rasa and Telegram APIs to provide invoice information to users. NLP techniques were used to extract intent and entities.
2. Creating a dashboard using HTML, CSS, and Flask for employee health monitoring.
3. Building a system to automatically add new employee data from Excel files to an AWS RDS database to then be viewed on a dashboard.
4. Deploying projects to AWS EC2 and RDS instances.
5. Working on a contract lifecycle management dashboard for Tata Motors using various technologies.
Machine Learning Model for M.S admissionsOmkar Rane
The document describes building a machine learning model to predict admissions for a Master's program. It loads student data, preprocesses it by imputing missing values, splits it into training and test sets, trains several models and evaluates their accuracy via cross-validation. Logistic regression achieved the best results with 77.5% accuracy. The trained logistic regression model is used to make predictions on new student data.
The document defines a function called DelayMs that uses Timer0 to create delays in milliseconds. It initializes Timer0 to increment every 12,000 clock cycles, which at a clock speed of 12MHz equals 1ms. The main function blinks an LED by turning it on for 500ms, then off for 500ms in a continuous loop using the DelayMs function.
ADC (Analog to Digital conversion) using LPC 1768Omkar Rane
This document contains code for an interfacing diagram that converts analog to digital values and displays the output in hexadecimal on an LCD screen. The code configures the ADC and UART ports, performs an analog to digital conversion on an input voltage, converts the output to hexadecimal, and transmits the values over UART. It also contains calculations for the step size of the ADC based on the reference voltage and bits. An observation table shows theoretical and measured output values for different input voltages.
PWM based motor speed control using LPC 1768Omkar Rane
This code configures the LPC1768 microcontroller's PWM peripheral to generate a pulse width modulated signal on pin PWM1.5. It initializes the PWM timer and match registers, enables the PWM output, and then uses a for loop to incrementally change the duty cycle of the PWM signal from 10% to 100% over 10 steps, pausing 1 second between each step. This allows the user to see the PWM output change frequency smoothly over time.
UART interfacing on LPC1768 (Cortex M3 micro controller)Omkar Rane
This code configures the UART0 port on an LPC1768 microcontroller to communicate at 9600 baud. It sets the pin configuration for transmit and receive, enables the FIFO and clears flags. It then configures the baud rate divisor, character length, parity and stop bits. The code enters a loop to continuously read incoming serial data and echo it back on the transmit line.
This document provides an interfacing diagram and code for an LPC1768 microcontroller to toggle a set of GPIO pins. The code uses PINSEL4 and FIO2DIR registers to configure pins P0.2 to P0.7 as GPIO outputs. It then uses a for loop to toggle all the pins high and low by setting and clearing the FIO2SET and FIO2CLR registers respectively.
CAN interfacing on LPC1768 (ARM Cortex M3 based Micro controller)Omkar Rane
The document describes code for initializing and transmitting messages over a CAN bus on an LPC1768 microcontroller, including initializing the CAN controller, setting an acceptance filter to define which message IDs will be received, and sending a test message over CAN1 while monitoring reception on CAN2. Functions are defined for CAN initialization, setting the acceptance filter, and transmitting messages with given IDs and data over CAN1.
Vlisi Course project presentation:Keypad ScannerOmkar Rane
This document describes a keypad scanner project implemented on an FPGA board. It includes the truth table and equations for scanning the keys of a 3x4 keypad to drive 4 LEDs. The Verilog code implements this design using logic gates and assigns statements. The code was submitted by 3 students for their VLSI design course, overseen by instructor Dr. Dipti Sakhare. References on Verilog, digital design, and the FPGA board used are also listed.
VlSI course project report : Keypad Scanner Omkar Rane
This project report describes the design, simulation, and implementation of a keypad scanner on an FPGA board. A Verilog code was written using a dataflow modeling style to scan a 3x4 keypad and output a 5-bit binary number corresponding to the pressed key. The code was simulated using Xilinx Vivado software. Finally, the design was implemented on a Digilent Nexys ddr FPGA board and tested successfully.
LPC 1768 A study on Real Time clock featuresOmkar Rane
The document discusses the real-time clock (RTC) and backup registers for the LPC176x/5x microcontroller. It describes the RTC oscillator, clock control register, time counter registers, consolidated time registers, and steps for using the RTC including initializing, setting date and time, and reading date and time. Potential applications mentioned include a digital clock, timer controller, and data logging systems.
This document provides an overview and reference manual for the Nexys4 DDR FPGA board. It describes the board's features such as the Artix-7 FPGA, memory resources, ports, and peripherals. It also provides details on power supplies, FPGA configuration options, and migrating designs from the original Nexys4 board. The manual is intended to help users understand and utilize the capabilities of the Nexys4 DDR board.
The document discusses linear regression for predicting salary based on years of experience. It introduces gradient descent for linear regression, which iteratively updates the slope and intercept parameters (θ1 and θ2) to minimize cost and improve predictions. Gradient descent takes steps in the direction of the steepest descent down the cost function landscape. The learning rate determines step sizes and must be optimized for accurate predictions within a reasonable time.
transmission gate based design for 2:1 Multiplexer in micro-windOmkar Rane
A 2:1 multiplexer uses a transmission gate to select between two input signals and output the selected signal. The transmission gate is controlled by a select signal, where a high select chooses input A and a low select chooses input B. The multiplexer uses the select signal to pass either input A or B to the output without affecting the logic levels of the selected signal.
transmission gate based design for 2:1 Multiplexer in micro-wind
Exp 6.3 d-422-1
1. Name of Students Omkar Rane
Roll No D422
Batch D1
Experiment No EX-6.3
Title of Experiment Create a duplicate file from original file .
Write An Algorithm:
Step 1) start
Step2) handle=open(“data.txt”, “r”)
Step3) Reading source file q=handle.read()
Step 4) close handle object.
Step5) display source file data.txt
Step 6)fhandle=open(“copy.txt”,”w”) Create a duplicate file “copy.txt” by write
module.
Step7) m=fhandle.close(q)
Step8) close fhandle object.
Step9) display m
Step 10) close
Code:
handle=open("data.txt","r")
q=handle.read()
handle.close()
print q
fhandle=open("copy.txt","w")
m=fhandle.write(q)
handle.close()
print m