VBScript is a scripting language launched by Microsoft in 1996 that can be used for client-side and server-side scripting. It supports only one data type called "Variant" that behaves as a number or string depending on context. Variables in VBScript can be declared using keywords like Dim, Public, and Private and follow standard naming conventions. Arrays allow storing multiple values in a single variable. Procedures like Sub and Function can be used to organize code and may accept arguments. Conditional statements like If/Else and Select Case allow choosing between code blocks. Loops like For, For Each, Do While, and Do Until are used to repeat steps. Built-in functions provide useful operations.
Web controls are used to build the graphical user interface of ASP.NET applications. There are four main types of web controls: intrinsic controls, list controls, rich controls, and validation controls. Intrinsic controls correspond directly to basic HTML elements like text boxes and buttons. List controls handle repetitive elements like drop-down lists and checkboxes. Rich controls provide advanced functionality like calendars. Validation controls validate user input on the client-side before form submission.
This document discusses exception handling in programming. It defines an exception as a problem that occurs during program execution, such as dividing by zero. It describes two types of exception handling: unstructured and structured. Unstructured handling uses if/else statements or On Error GoTo. Structured handling uses Try/Catch blocks with keywords like Try, Catch, Finally, and Throw to control program flow. It also shows exception class hierarchies and provides a code example using Try/Catch.
This chapter introduces XHTML and covers:
- The transition from HTML to XHTML and XML syntax requirements
- The anatomy of a web page including head, body, and DTD sections
- Common inline and block-level tags for formatting text and elements
- Special characters and how to display them
- Creating hyperlinks within and between pages using absolute and relative linking
This document classifies and describes different types of database users: end users/novice users who interact directly with applications; online users who communicate directly with the database through an interface or application; application programmers who develop applications; database administrators who are responsible for designing, maintaining, and securing the database; and database implementers who build database management system software.
Visual Basic .NET (VB.NET or VB .NET) is a version of Microsoft's Visual Basic that was designed, as part of the company's .NET product group, to make Web services applications easier to develop.
VB.NET:An introduction to Namespaces in .NET frameworkRicha Handa
VB.NET namespaces organize code by grouping related type names and reducing name collisions. Namespaces are commonly used to specify which .NET framework libraries are needed for a program. Code can be organized into hierarchies with namespaces nested within other namespaces. For example, the Button class is contained within the System.Windows.Forms namespace, which is part of the larger System namespace that contains many commonly used namespaces like System.IO and System.Collections.
VBScript is a scripting language launched by Microsoft in 1996 that can be used for client-side and server-side scripting. It supports only one data type called "Variant" that behaves as a number or string depending on context. Variables in VBScript can be declared using keywords like Dim, Public, and Private and follow standard naming conventions. Arrays allow storing multiple values in a single variable. Procedures like Sub and Function can be used to organize code and may accept arguments. Conditional statements like If/Else and Select Case allow choosing between code blocks. Loops like For, For Each, Do While, and Do Until are used to repeat steps. Built-in functions provide useful operations.
Web controls are used to build the graphical user interface of ASP.NET applications. There are four main types of web controls: intrinsic controls, list controls, rich controls, and validation controls. Intrinsic controls correspond directly to basic HTML elements like text boxes and buttons. List controls handle repetitive elements like drop-down lists and checkboxes. Rich controls provide advanced functionality like calendars. Validation controls validate user input on the client-side before form submission.
This document discusses exception handling in programming. It defines an exception as a problem that occurs during program execution, such as dividing by zero. It describes two types of exception handling: unstructured and structured. Unstructured handling uses if/else statements or On Error GoTo. Structured handling uses Try/Catch blocks with keywords like Try, Catch, Finally, and Throw to control program flow. It also shows exception class hierarchies and provides a code example using Try/Catch.
This chapter introduces XHTML and covers:
- The transition from HTML to XHTML and XML syntax requirements
- The anatomy of a web page including head, body, and DTD sections
- Common inline and block-level tags for formatting text and elements
- Special characters and how to display them
- Creating hyperlinks within and between pages using absolute and relative linking
This document classifies and describes different types of database users: end users/novice users who interact directly with applications; online users who communicate directly with the database through an interface or application; application programmers who develop applications; database administrators who are responsible for designing, maintaining, and securing the database; and database implementers who build database management system software.
Visual Basic .NET (VB.NET or VB .NET) is a version of Microsoft's Visual Basic that was designed, as part of the company's .NET product group, to make Web services applications easier to develop.
VB.NET:An introduction to Namespaces in .NET frameworkRicha Handa
VB.NET namespaces organize code by grouping related type names and reducing name collisions. Namespaces are commonly used to specify which .NET framework libraries are needed for a program. Code can be organized into hierarchies with namespaces nested within other namespaces. For example, the Button class is contained within the System.Windows.Forms namespace, which is part of the larger System namespace that contains many commonly used namespaces like System.IO and System.Collections.
VBScript is a scripting language developed by Microsoft that is used to add interactivity to web pages. It can be run on both the client-side in a web browser using HTML and on the server-side using ASP. VBScript is easy to learn and use, supports variables, constants, operators, and basic decision structures like if/else statements. While it is only supported in Internet Explorer, it remains a useful scripting language for adding interactivity to web pages.
This document provides an introduction to distributed databases. It defines a distributed database as a collection of logically related databases distributed over a computer network. It describes distributed computing and how distributed databases partition data across multiple computers. The document outlines different types of distributed database systems including homogeneous and heterogeneous. It also discusses distributed data storage techniques like replication, fragmentation, and allocation. Finally, it lists several advantages and objectives of distributed databases as well as some disadvantages.
The document discusses how to create and run ActiveX controls in Visual Basic. It provides steps to create a simple calculator ActiveX control and system clock ActiveX control. The key steps include starting Visual Basic, clicking on the ActiveX control, giving the project a name, adding coding for functionality, adding the component to the toolbox, dragging it onto a form, setting the project properties, and executing the ActiveX control.
This document discusses various form controls in VB.NET including text boxes, labels, and buttons. It provides details on the properties and methods of each control as well as examples of their common uses. Text boxes allow entering multiple lines of text and scrolling. Labels display static informative text. Buttons generate click events to perform actions when clicked by the user.
The document discusses various aspects of using the GridView control in ASP.NET such as binding data to the GridView, handling paging, sorting and editing. It describes properties like AllowPaging and events like PageIndexChanging. It provides code examples for binding data, handling sorting and paging. The document also discusses different field types that can be used in a GridView like BoundField, TemplateField and HyperLinkField.
A distributed system is a collection of computational and storage devices connected through a communications network. In this type of system, data, software, and users are distributed.
Peephole optimization techniques in compiler designAnul Chaudhary
This document discusses various compiler optimization techniques, focusing on peephole optimization. It defines optimization as transforming code to run faster or use less memory without changing functionality. Optimization can be machine-independent, transforming code regardless of hardware, or machine-dependent, tailored to a specific architecture. Peephole optimization examines small blocks of code and replaces them with faster or smaller equivalents using techniques like constant folding, strength reduction, null sequence elimination, and algebraic laws. Common replacement rules aim to improve performance, reduce memory usage, and decrease code size.
The document discusses namespaces in .NET. Namespaces help organize classes and interfaces logically and avoid naming conflicts. Namespaces use dot notation and can be defined using the namespace keyword. Assemblies contain namespaces and provide execution context and versioning. Private assemblies are used within one application while public assemblies in the global assembly cache can be used across applications. The compiler compiles to CIL and produces metadata. The runtime loads assemblies and the JIT compiler converts CIL to native code for the CPU.
This document discusses cookies and sessions in PHP. Cookies are used to maintain state between HTTP requests and can store a small amount of text data in the user's browser. Sessions serve the same purpose as cookies but store data on the server rather than in the browser. The document demonstrates how to create, access, and destroy both cookies and sessions in PHP code. It also compares the key differences between cookies and sessions, such as cookies persisting after the browser closes while sessions do not.
The document provides information about a mentoring program run by Baabtra-Mentoring Partner including a trainee's typing speed progress over 3 weeks, jobs applied to with current statuses, an introduction to functions in Javascript covering definitions, advantages, examples, and local and global variables. Contact details for Baabtra are also provided at the end.
The document discusses session tracking in servlets using cookies. It explains that HTTP is stateless and cookies allow servers to maintain state across multiple requests from the same user. Cookies are stored in the user's browser and sent with each request to identify the user. The document provides details on how cookies work in servlets, the different types of cookies, how to create, access, and delete cookies using the Cookie class in servlets. It includes an example servlet program that sets a cookie on the first request and reads it on the second to track user sessions across multiple pages.
This document provides an introduction to XML, including:
- XML stands for eXtensible Markup Language and allows users to define their own tags to provide structure and meaning to data.
- XML documents use elements with start and end tags to organize content in a hierarchical, tree-like structure. Elements can contain text or other nested elements.
- Attributes within start tags provide additional metadata about elements. Well-formed XML documents must follow syntax rules to be valid.
SDI allows each document to have its own independent window, while MDI allows multiple document windows to exist within a single parent window. The Visual Basic IDE can be viewed in SDI mode, with separate windows for each component, or MDI mode, with components nested within a single IDE window. To create an MDI application, add an MDI Form as the parent container and additional Forms set as MDI Children.
The document discusses form processing in PHP, including how to read data from forms using $_REQUEST, $_GET, and $_POST superglobals and validate user input data before using it. It provides examples of validating data types and required fields, and processing forms using both GET and POST requests.
The document discusses various common dialog boxes in Visual Basic, including open/save file dialogs, find/replace, print setup, color, and font dialog boxes. It provides details on how to display each dialog box type and retrieve user selections through properties like FileName, Color, FontName, and FontSize. The rich textbox control is also summarized, which allows formatting text with different fonts, sizes, colors and supports loading/saving files.
The document discusses JavaScript events and event handling. It covers the different phases of events, how to define event handlers, the event object, and how to cancel bubbling and override default browser actions. It also provides examples of handling mouse and keyboard events, such as changing an element's style on mouseover and logging key events.
Difference between Homogeneous and HeterogeneousFaraz Qaisrani
Muhammad Faraz Qaisrani from the 2nd Batch at Benazir Bhutto Shaheed University discusses types of distributed database management systems (DDBMS). There are two main types: homogeneous, where all data centers use the same software, and heterogeneous, where different data centers may use different database products. Homogeneous systems are easier to design and manage but can be difficult for organizations to implement uniformly. Heterogeneous systems allow integration of existing databases but require translations between different hardware and software.
This document provides an overview of HTML (Hypertext Markup Language) including common tags and their usage. It begins with introductory information about HTML and what markup tags are. It then describes important tags such as headings, paragraphs, lists, images, tables, forms and links. Examples are provided for many of the tags. The document is intended to help trainees learn HTML as part of a mentoring program.
This is a slide on relational algebra. i have discussed some common operation of relational algebra. most impotently i have add all the sql of corresponding operation and also the syntax.
Embedded SQL allows SQL statements to be embedded within host languages like C/C++/Java. Embedded SQL statements are distinguished by being enclosed between EXEC SQL and END-EXEC. Variables shared between SQL and the host language are prefixed with a colon in SQL. Dynamic SQL constructs SQL statements at runtime, allowing for flexibility, while static SQL has statements hardcoded at compile time, providing better performance.
The document provides an overview of VBScript for use with QuickTest Professional (QTP). It covers topics like comments, variables, data types, operators, input/output, constants, conditional statements, loops, procedures, built-in functions, syntax rules, errors, file system operations, test requirements, solutions, QTP add-ins information, and a VBScript glossary. The document contains tutorials and examples for learning VBScript to write automated tests and real-time scripts for QTP.
The document provides an overview of VBScript including:
1. VBScript is a lightweight scripting language that is interpreted by the Windows Script Host and can be used for web client and server scripting.
2. It discusses the Windows Script Host environment and how it manages script security and execution.
3. VBScript supports variables, data types, operators, conditional statements, loops, procedures, and file input/output operations.
VBScript is a scripting language developed by Microsoft that is used to add interactivity to web pages. It can be run on both the client-side in a web browser using HTML and on the server-side using ASP. VBScript is easy to learn and use, supports variables, constants, operators, and basic decision structures like if/else statements. While it is only supported in Internet Explorer, it remains a useful scripting language for adding interactivity to web pages.
This document provides an introduction to distributed databases. It defines a distributed database as a collection of logically related databases distributed over a computer network. It describes distributed computing and how distributed databases partition data across multiple computers. The document outlines different types of distributed database systems including homogeneous and heterogeneous. It also discusses distributed data storage techniques like replication, fragmentation, and allocation. Finally, it lists several advantages and objectives of distributed databases as well as some disadvantages.
The document discusses how to create and run ActiveX controls in Visual Basic. It provides steps to create a simple calculator ActiveX control and system clock ActiveX control. The key steps include starting Visual Basic, clicking on the ActiveX control, giving the project a name, adding coding for functionality, adding the component to the toolbox, dragging it onto a form, setting the project properties, and executing the ActiveX control.
This document discusses various form controls in VB.NET including text boxes, labels, and buttons. It provides details on the properties and methods of each control as well as examples of their common uses. Text boxes allow entering multiple lines of text and scrolling. Labels display static informative text. Buttons generate click events to perform actions when clicked by the user.
The document discusses various aspects of using the GridView control in ASP.NET such as binding data to the GridView, handling paging, sorting and editing. It describes properties like AllowPaging and events like PageIndexChanging. It provides code examples for binding data, handling sorting and paging. The document also discusses different field types that can be used in a GridView like BoundField, TemplateField and HyperLinkField.
A distributed system is a collection of computational and storage devices connected through a communications network. In this type of system, data, software, and users are distributed.
Peephole optimization techniques in compiler designAnul Chaudhary
This document discusses various compiler optimization techniques, focusing on peephole optimization. It defines optimization as transforming code to run faster or use less memory without changing functionality. Optimization can be machine-independent, transforming code regardless of hardware, or machine-dependent, tailored to a specific architecture. Peephole optimization examines small blocks of code and replaces them with faster or smaller equivalents using techniques like constant folding, strength reduction, null sequence elimination, and algebraic laws. Common replacement rules aim to improve performance, reduce memory usage, and decrease code size.
The document discusses namespaces in .NET. Namespaces help organize classes and interfaces logically and avoid naming conflicts. Namespaces use dot notation and can be defined using the namespace keyword. Assemblies contain namespaces and provide execution context and versioning. Private assemblies are used within one application while public assemblies in the global assembly cache can be used across applications. The compiler compiles to CIL and produces metadata. The runtime loads assemblies and the JIT compiler converts CIL to native code for the CPU.
This document discusses cookies and sessions in PHP. Cookies are used to maintain state between HTTP requests and can store a small amount of text data in the user's browser. Sessions serve the same purpose as cookies but store data on the server rather than in the browser. The document demonstrates how to create, access, and destroy both cookies and sessions in PHP code. It also compares the key differences between cookies and sessions, such as cookies persisting after the browser closes while sessions do not.
The document provides information about a mentoring program run by Baabtra-Mentoring Partner including a trainee's typing speed progress over 3 weeks, jobs applied to with current statuses, an introduction to functions in Javascript covering definitions, advantages, examples, and local and global variables. Contact details for Baabtra are also provided at the end.
The document discusses session tracking in servlets using cookies. It explains that HTTP is stateless and cookies allow servers to maintain state across multiple requests from the same user. Cookies are stored in the user's browser and sent with each request to identify the user. The document provides details on how cookies work in servlets, the different types of cookies, how to create, access, and delete cookies using the Cookie class in servlets. It includes an example servlet program that sets a cookie on the first request and reads it on the second to track user sessions across multiple pages.
This document provides an introduction to XML, including:
- XML stands for eXtensible Markup Language and allows users to define their own tags to provide structure and meaning to data.
- XML documents use elements with start and end tags to organize content in a hierarchical, tree-like structure. Elements can contain text or other nested elements.
- Attributes within start tags provide additional metadata about elements. Well-formed XML documents must follow syntax rules to be valid.
SDI allows each document to have its own independent window, while MDI allows multiple document windows to exist within a single parent window. The Visual Basic IDE can be viewed in SDI mode, with separate windows for each component, or MDI mode, with components nested within a single IDE window. To create an MDI application, add an MDI Form as the parent container and additional Forms set as MDI Children.
The document discusses form processing in PHP, including how to read data from forms using $_REQUEST, $_GET, and $_POST superglobals and validate user input data before using it. It provides examples of validating data types and required fields, and processing forms using both GET and POST requests.
The document discusses various common dialog boxes in Visual Basic, including open/save file dialogs, find/replace, print setup, color, and font dialog boxes. It provides details on how to display each dialog box type and retrieve user selections through properties like FileName, Color, FontName, and FontSize. The rich textbox control is also summarized, which allows formatting text with different fonts, sizes, colors and supports loading/saving files.
The document discusses JavaScript events and event handling. It covers the different phases of events, how to define event handlers, the event object, and how to cancel bubbling and override default browser actions. It also provides examples of handling mouse and keyboard events, such as changing an element's style on mouseover and logging key events.
Difference between Homogeneous and HeterogeneousFaraz Qaisrani
Muhammad Faraz Qaisrani from the 2nd Batch at Benazir Bhutto Shaheed University discusses types of distributed database management systems (DDBMS). There are two main types: homogeneous, where all data centers use the same software, and heterogeneous, where different data centers may use different database products. Homogeneous systems are easier to design and manage but can be difficult for organizations to implement uniformly. Heterogeneous systems allow integration of existing databases but require translations between different hardware and software.
This document provides an overview of HTML (Hypertext Markup Language) including common tags and their usage. It begins with introductory information about HTML and what markup tags are. It then describes important tags such as headings, paragraphs, lists, images, tables, forms and links. Examples are provided for many of the tags. The document is intended to help trainees learn HTML as part of a mentoring program.
This is a slide on relational algebra. i have discussed some common operation of relational algebra. most impotently i have add all the sql of corresponding operation and also the syntax.
Embedded SQL allows SQL statements to be embedded within host languages like C/C++/Java. Embedded SQL statements are distinguished by being enclosed between EXEC SQL and END-EXEC. Variables shared between SQL and the host language are prefixed with a colon in SQL. Dynamic SQL constructs SQL statements at runtime, allowing for flexibility, while static SQL has statements hardcoded at compile time, providing better performance.
The document provides an overview of VBScript for use with QuickTest Professional (QTP). It covers topics like comments, variables, data types, operators, input/output, constants, conditional statements, loops, procedures, built-in functions, syntax rules, errors, file system operations, test requirements, solutions, QTP add-ins information, and a VBScript glossary. The document contains tutorials and examples for learning VBScript to write automated tests and real-time scripts for QTP.
The document provides an overview of VBScript including:
1. VBScript is a lightweight scripting language that is interpreted by the Windows Script Host and can be used for web client and server scripting.
2. It discusses the Windows Script Host environment and how it manages script security and execution.
3. VBScript supports variables, data types, operators, conditional statements, loops, procedures, and file input/output operations.
has any rows using Count(). This way, you avoid the CS8604 error related to p...Anwar Patel
This code first checks if data is not null, and then checks if it has any rows using Count(). This way, you avoid the CS8604 error related to possible null references.
The document provides an overview of VBScript including:
1) It describes VBScript as a lightweight scripting language that is interpreted by the Windows Script Host.
2) It lists common hosting environments for VBScript like web pages and Windows Script Host.
3) It discusses VBScript syntax rules and elements like variables, data types, operators, and input/output functions.
4) It provides examples of how to write VBScript code for comments, variables, constants, and other language elements.
The document provides an introduction to advanced QTP concepts using VBScript orientation. It discusses VBScript variables including data types, operators, input/output operations, constants, conditional statements, procedures, built-in functions, and syntax rules. The document also covers topics like errors, file system operations, test requirements, solutions, and QTP add-ins. It recommends visiting an external website for more QTP information, scripts, and manual testing documents.
This document provides an introduction and overview of VBScript, including its data types, variables, operators, and other core concepts. The objectives are to familiarize readers with the VBScript language and teach them how to write client-side scripts using VBScript keywords, operators, functions, arrays, classes, and objects. It covers topics such as VBScript data types, variables, operators, scopes, lifetimes, and statements for declaring variables.
This document provides an explanation of VBScript for use in HP QuickTest Professional (QTP). It covers key VBScript concepts like data types, variables, arrays, constants, functions, subroutines, and arguments. It includes examples to demonstrate each concept. The document is organized into 12 sections covering these topics at a high level.
This document provides an introduction and overview of JavaScript. It begins with definitions of JavaScript and why it is important to study. It then discusses what JavaScript can do, such as manipulate HTML, respond to events, and more. The document outlines where JavaScript code can be written, either internally or externally. It also covers JavaScript output, input, statements, syntax, comments, variables, data types, and arrays. The high-level topics covered provide a good initial overview of JavaScript for someone new to the language.
This document provides an introduction and overview of JavaScript. It begins with definitions of JavaScript and why it is important to study. It then discusses what JavaScript can do, such as manipulate HTML, respond to events, and validate forms. The document covers JavaScript syntax including values, variables, operators, and data types. It also discusses JavaScript statements, comments, functions, and conditions. The last few sections cover JavaScript output, input, and how to integrate JavaScript with HTML documents and web pages.
This document provides an introduction and overview of JavaScript. It begins with definitions of JavaScript and why it is important to study. It then covers what JavaScript can do, such as manipulating HTML content and responding to events. It also discusses where JavaScript code can be written, either internally in HTML or externally in JavaScript files. The document proceeds to explain JavaScript output methods like innerHTML, document.write(), alert boxes, and console.log(). It also covers getting user input in JavaScript. It concludes with brief sections on JavaScript statements, syntax, comments, variables, and data types.
JavaScript is a programming language used to make web pages interactive. It can be placed in the <body> and <head> sections of an HTML page. JavaScript code must be inserted between <script> and </script> tags. Functions and events allow JavaScript code to run when events occur, like when a user clicks a button. Scripts can also be placed in external .js files for reuse across pages. JavaScript can output data through alerts, writing to the HTML, or the browser console. Variables are used to store and work with data in JavaScript programs. Comments are used to explain code and prevent execution when needed.
VBScript is a scripting language used to add dynamic behavior to web pages. It supports data types, variables, constants, conditional and iterative constructs, arrays, and user-defined procedures and functions. VBScript can integrate with different interfaces like Microsoft Word and Excel to read and write data. Example uses include automating tasks by running QTP test scripts from Excel sheets.
This document provides information about Active Server Pages (ASP) and VBScript. ASP is a Microsoft technology for building dynamically generated web pages using server-side scripting. Initially released as an add-on for IIS, it allowed web pages to access functionality in DLLs using COM. ASP.NET has since superseded ASP. VBScript is a scripting language that can be used within ASP pages and is not case sensitive. Key concepts discussed include ASP architecture, the ASP model, developing ASP scripts, variables and data types in VBScript, and using procedures.
This document contains instructions for a computer fundamentals assignment. It includes:
1. Examples of converting between octal, hexadecimal, and decimal number systems.
2. An overview of the mail merge process in Microsoft Word, including setting up email messages, connecting to an address list, refining recipients, adding mail merge fields, and previewing/completing the merge.
3. Descriptions of macros in Microsoft Excel - automated sequences of commands that can be recalled with a single keystroke. The document provides steps to split an existing macro into two parts by moving code blocks between the macros.
The document provides an overview of JavaScript, including what it is, its syntax, data types, variables, operators, control flow statements like if/else and loops, and functions. It explains that JavaScript is an interpreted scripting language used in web pages, loosely based on Java but does not require compilation. It also provides examples of basic JavaScript code and definitions of key concepts.
The document provides an overview of JavaScript and how to write JavaScript programs. It discusses:
1) The objectives of learning JavaScript including understanding syntax, creating embedded and external scripts, working with variables, functions, arrays, and loops.
2) The differences between client-side and server-side programs and how JavaScript solves problems with server-side scripts.
3) How to write JavaScript programs by placing code in HTML files or external files and using tags like <script> to embed or link scripts.
4) Core JavaScript concepts covered include variables, data types, operators, functions, and built-in objects like Date, Math and more.
This document introduces JavaScript and describes client-side and server-side usage. It explains that JavaScript is a scripting language used to build dynamic web pages and can run on the client-side in browsers or server-side. It also describes common data types in JavaScript, variables, functions, and keywords. Functions like toFixed(), toPrecision(), and toString() are presented as examples of built-in functions to format numbers and convert values to strings.
This document provides an introduction to ASP.NET, including an overview of .NET and its components. It discusses how ASP.NET allows the .NET framework to be exposed to the web using IIS. It also covers topics like scripting languages, Microsoft Visual Studio, creating ASP.NET pages, controls, events, variables, data types, operators, functions and arrays. The document is intended as the first day of an 11-week introduction to ASP.NET course.
The document provides an introduction to JavaScript, including its history and uses. It discusses how JavaScript is an interpreted programming language used for client-side scripting of web pages to make them dynamic and interactive. The document outlines key JavaScript concepts like variables, functions, operators, and conditional statements. It provides examples of how to write JavaScript programs and embed them in HTML files using the <script> tag.
This presentation is about the following points,
1. Why VB in QTP,
2. Vbscript variables and constants,
3. Vbscript arrays,
4. Writing functions and subroutines,
5. Writing conditional statements,
6. Writing loop statements,
7. Vbscript classes,
8. Writing and executing simple VBscript in QTP,
Java servlets are server-side Java programs that run within a web server and act as a middle layer between requests from web browsers and databases or applications on the server. Servlets have advantages over other server-side technologies like CGI in that they are persistent, portable, server-independent, and faster since they are compiled to bytecode. To run a servlet, you create a directory structure under Tomcat for the application, write and compile the servlet source code, create a deployment descriptor, run Tomcat, and call the servlet from a browser.
This document discusses HTML and CSS. It provides an overview of HTML, describing it as a markup language used to define web pages using tags. It gives examples of basic HTML tags and page structure. It also covers CSS, explaining that CSS is used to style and lay out HTML elements, including different ways of inserting CSS like inline, internal, and external stylesheets. The document provides examples of HTML code and CSS code.
The document discusses the Cohen-Sutherland line clipping algorithm. It introduces the problem of lines extending outside the screen area when drawing 2D lines. The algorithm finds new endpoints that are within the screen boundaries so only the visible portion is drawn. It works by assigning codes to screen regions and using AND operations to determine if endpoints are completely inside, outside or intersect the screen. New endpoints are calculated for any portions found to be outside so the full line is clipped to the screen. Several examples are shown of lines in different positions and the clipping results.
Hash table in data structure and algorithmAamir Sohail
The document discusses hash tables and their use for efficient data retrieval. It begins by comparing the time complexity of different data structures for searching, noting that hash tables provide constant time O(1) search. It then provides examples of using hash tables to store student records and complaints by number. Key aspects covered include hash functions mapping data to table indices, minimizing collisions, open and closed addressing for collisions, and linked lists or probing as solutions. Types of hash functions and their parameters are defined. The document aims to explain the core concepts of hashing, hash functions, hash tables and approaches for handling collisions.
This document discusses information security and its various components. It defines information security as providing assurance that information risks and controls are balanced. It notes that every organization has information others may want to access or deny access to. The document outlines different types of security including physical, personal, operations, communications, network, and information security. It describes securing the different components of an information system and notes that perfect security is impossible, rather security must balance protection with reasonable access.
Network security policies are important to protect organizational assets from threats. The document discusses:
1) Identifying key assets that need protection, such as critical databases, applications, customer/employee information, and servers.
2) The purpose of security policies is to inform users of obligations, specify security mechanisms, and provide a baseline for protection.
3) Network security involves securing access across different segments, applying device security, and implementing policies for internet access, remote connections, firewalls, and acceptable use. Layered security makes it harder for attackers to compromise critical systems.
Presentation on Scheduling and scheduling personnel
hi,
My name is Aamir Sohail and i am student of computer science, i have made this presentation, hope it will be helpful for you
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Artificia Intellicence and XPath Extension FunctionsOctavian Nadolu
The purpose of this presentation is to provide an overview of how you can use AI from XSLT, XQuery, Schematron, or XML Refactoring operations, the potential benefits of using AI, and some of the challenges we face.
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteGoogle
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-pilot-review/
AI Pilot Review: Key Features
✅Deploy AI expert bots in Any Niche With Just A Click
✅With one keyword, generate complete funnels, websites, landing pages, and more.
✅More than 85 AI features are included in the AI pilot.
✅No setup or configuration; use your voice (like Siri) to do whatever you want.
✅You Can Use AI Pilot To Create your version of AI Pilot And Charge People For It…
✅ZERO Manual Work With AI Pilot. Never write, Design, Or Code Again.
✅ZERO Limits On Features Or Usages
✅Use Our AI-powered Traffic To Get Hundreds Of Customers
✅No Complicated Setup: Get Up And Running In 2 Minutes
✅99.99% Up-Time Guaranteed
✅30 Days Money-Back Guarantee
✅ZERO Upfront Cost
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
Preparing Non - Technical Founders for Engaging a Tech AgencyISH Technologies
Preparing non-technical founders before engaging a tech agency is crucial for the success of their projects. It starts with clearly defining their vision and goals, conducting thorough market research, and gaining a basic understanding of relevant technologies. Setting realistic expectations and preparing a detailed project brief are essential steps. Founders should select a tech agency with a proven track record and establish clear communication channels. Additionally, addressing legal and contractual considerations and planning for post-launch support are vital to ensure a smooth and successful collaboration. This preparation empowers non-technical founders to effectively communicate their needs and work seamlessly with their chosen tech agency.Visit our site to get more details about this. Contact us today www.ishtechnologies.com.au
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j
Dr. Jesús Barrasa, Head of Solutions Architecture for EMEA, Neo4j
Découvrez les dernières innovations de Neo4j, et notamment les dernières intégrations cloud et les améliorations produits qui font de Neo4j un choix essentiel pour les développeurs qui créent des applications avec des données interconnectées et de l’IA générative.
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppGoogle
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-fusion-buddy-review
AI Fusion Buddy Review: Key Features
✅Create Stunning AI App Suite Fully Powered By Google's Latest AI technology, Gemini
✅Use Gemini to Build high-converting Converting Sales Video Scripts, ad copies, Trending Articles, blogs, etc.100% unique!
✅Create Ultra-HD graphics with a single keyword or phrase that commands 10x eyeballs!
✅Fully automated AI articles bulk generation!
✅Auto-post or schedule stunning AI content across all your accounts at once—WordPress, Facebook, LinkedIn, Blogger, and more.
✅With one keyword or URL, generate complete websites, landing pages, and more…
✅Automatically create & sell AI content, graphics, websites, landing pages, & all that gets you paid non-stop 24*7.
✅Pre-built High-Converting 100+ website Templates and 2000+ graphic templates logos, banners, and thumbnail images in Trending Niches.
✅Say goodbye to wasting time logging into multiple Chat GPT & AI Apps once & for all!
✅Save over $5000 per year and kick out dependency on third parties completely!
✅Brand New App: Not available anywhere else!
✅ Beginner-friendly!
✅ZERO upfront cost or any extra expenses
✅Risk-Free: 30-Day Money-Back Guarantee!
✅Commercial License included!
See My Other Reviews Article:
(1) AI Genie Review: https://sumonreview.com/ai-genie-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIFusionBuddyReview,
#AIFusionBuddyFeatures,
#AIFusionBuddyPricing,
#AIFusionBuddyProsandCons,
#AIFusionBuddyTutorial,
#AIFusionBuddyUserExperience
#AIFusionBuddyforBeginners,
#AIFusionBuddyBenefits,
#AIFusionBuddyComparison,
#AIFusionBuddyInstallation,
#AIFusionBuddyRefundPolicy,
#AIFusionBuddyDemo,
#AIFusionBuddyMaintenanceFees,
#AIFusionBuddyNewbieFriendly,
#WhatIsAIFusionBuddy?,
#HowDoesAIFusionBuddyWorks
DDS Security Version 1.2 was adopted in 2024. This revision strengthens support for long runnings systems adding new cryptographic algorithms, certificate revocation, and hardness against DoS attacks.
Utilocate offers a comprehensive solution for locate ticket management by automating and streamlining the entire process. By integrating with Geospatial Information Systems (GIS), it provides accurate mapping and visualization of utility locations, enhancing decision-making and reducing the risk of errors. The system's advanced data analytics tools help identify trends, predict potential issues, and optimize resource allocation, making the locate ticket management process smarter and more efficient. Additionally, automated ticket management ensures consistency and reduces human error, while real-time notifications keep all relevant personnel informed and ready to respond promptly.
The system's ability to streamline workflows and automate ticket routing significantly reduces the time taken to process each ticket, making the process faster and more efficient. Mobile access allows field technicians to update ticket information on the go, ensuring that the latest information is always available and accelerating the locate process. Overall, Utilocate not only enhances the efficiency and accuracy of locate ticket management but also improves safety by minimizing the risk of utility damage through precise and timely locates.
SOCRadar's Aviation Industry Q1 Incident Report is out now!
The aviation industry has always been a prime target for cybercriminals due to its critical infrastructure and high stakes. In the first quarter of 2024, the sector faced an alarming surge in cybersecurity threats, revealing its vulnerabilities and the relentless sophistication of cyber attackers.
SOCRadar’s Aviation Industry, Quarterly Incident Report, provides an in-depth analysis of these threats, detected and examined through our extensive monitoring of hacker forums, Telegram channels, and dark web platforms.
When deliberating between CodeIgniter vs CakePHP for web development, consider their respective strengths and your project requirements. CodeIgniter, known for its simplicity and speed, offers a lightweight framework ideal for rapid development of small to medium-sized projects. It's praised for its straightforward configuration and extensive documentation, making it beginner-friendly. Conversely, CakePHP provides a more structured approach with built-in features like scaffolding, authentication, and ORM. It suits larger projects requiring robust security and scalability. Ultimately, the choice hinges on your project's scale, complexity, and your team's familiarity with the frameworks.
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Crescat
Crescat is industry-trusted event management software, built by event professionals for event professionals. Founded in 2017, we have three key products tailored for the live event industry.
Crescat Event for concert promoters and event agencies. Crescat Venue for music venues, conference centers, wedding venues, concert halls and more. And Crescat Festival for festivals, conferences and complex events.
With a wide range of popular features such as event scheduling, shift management, volunteer and crew coordination, artist booking and much more, Crescat is designed for customisation and ease-of-use.
Over 125,000 events have been planned in Crescat and with hundreds of customers of all shapes and sizes, from boutique event agencies through to international concert promoters, Crescat is rigged for success. What's more, we highly value feedback from our users and we are constantly improving our software with updates, new features and improvements.
If you plan events, run a venue or produce festivals and you're looking for ways to make your life easier, then we have a solution for you. Try our software for free or schedule a no-obligation demo with one of our product specialists today at crescat.io
2. VB Script stands for Visual Basic Script and it is
a light version of Microsoft Visual Basic.
The syntax of VBScript is very similar to that of
Visual Basic.
VBScript was developed by Microsoft with the
intention of developing dynamic web pages.
Aamir Sohail2
3. if you want your webpage to be more lively and
interactive, then you can incorporate VBScript in
your code.
VBScript is just a scripting language.
So, it cannot run its code on its own.
It needs a bigger programming language to host it.
3
4. VBScript is a lightweight scripting language, which
has a lightning fast interpreter.
VBScript, for the most part, is case insensitive. It
has a very simple syntax, easy to learn and to
implement.
Aamir Sohail4
5. Right now, there are 3 environments where VB
Script can run.
IIS (Internet Information Server) – Microsoft’s web
server
WSH (Windows Script Host)– The native hosting
environment of the Windows OS
IE (Internet Explorer)– The simplest hosting
environment we can use to run VBScripts
Aamir Sohail5
6. VBScript can be used as follows:
◦ Input Validation
◦ Mouse Rollover Effects
◦ Popup Windows
◦ Dynamic Contents
◦ User Interaction
Aamir Sohail6
7. Web Pages
◦ VBScript can be used as client side scripting. It can be
embedded in HTML document to add interactive
functionality to web pages. It can be used for data
validation and user interaction at the client-end.
7
8. The applications that use VBScript are called Host
applications. The most common host applications
are as follows.
• Internet Explorer
• Internet Information Server
• Outlook uses VBScript as its Macro language
• Windows Scripting Host
Aamir Sohail8
9. easy to learn and use
minimum programming knowledge or experience
required
allow complex tasks to be performed in relatively
few steps
allow simple creation and editing in a variety of
text editors
allow the addition of dynamic and interactive
activities to web pages
editing and running code is fast.
Aamir Sohail9
10. The main disadvantage of VBScript is that most
browsers except Internet Explorer will not process
VBScript code.
if your site has visitors who use a web browser other
than Internet Explorer like Chrome, Firefox or Opera,
then VBScript will not be useful.
Aamir Sohail10
11. Moreover, VBScript will not run on computers
that run on operating systems other than
Microsoft Windows including Linux, Mac etc.
Like any other scripting language, VBScript has
gone through many changes over the years.
Aamir Sohail11
12. VBScript code is embedded into HMTL document
using the SCRIPT tag. The <SCRIPT> tag is used
to inform browser about the start of VBScript
statements. The <SCRIPT> tag indicates the
beginning of scripting code and </SCRIPT> tah
indicates the end of scripting code.
<SCRIPT language=“VBScript”>
</SCRIPT>
Aamir Sohail12
13. VBScript uses an object called Document.
This object manages many instruction of VBScript.
It can be used is to display a string on the screen.
a string is the next that is displayed in the
browser. It is displayed by using the function
Write.
The Syntax of Write function of Document Object
is as Follows.
Document.Write(string)
Aamir Sohail13
14. The string can be constant written in double qoutes
or a variable. An example of Document.Write()
function is as follows:
<SCRIPT language=“VBScript”>
Document.Write(“VBScrip
Statement”)
</SCRIPT>
Aamir Sohail14
15. Variable is a named memory location used to hold
a value that can be changed during the script
execution.
The value of variable may changes during the
program execution but the name of the variable
cannot be changed.
Aamir Sohail15
16. The name of variable is given by the user at design
time. It may consist of alphabetic and numeric
digits. The name of variable should ne meaningful
and simple.
For example, if you have to store names of students
or salaries of employees, you will be using
variables named students or salaries.
Aamir Sohail16
17. Following are some rules for declaring variables:
• Variable Name must begin with an alphabet. The
variables 9minute, #home, and 2kg are invalid.
• A variable name may include letters, number and
Underscore(_).
• Variable names cannot exceed 255 characters.
• Variables Should NOT contain a period(.)
• Variable Names should be unique in the declared
context.
Aamir Sohail17
18. • Blank Spaces are not allowed on the variable
name. the variable “my book” and “your car” are
invalid.
• Both upper and lowercase are allowed in variable
name.
• A reserved word cannot be used as a variable
name.
Aamir Sohail18
19. Some examples of valid variables are as follows:
Marks
Home12
My_Car
F_name
Aamir Sohail19
20. Values are assigned similar to an algebraic expression.
The variable name on the left hand side followed by an
equal to (=) symbol and then its value on the right hand
side.
Rules:
The numeric values should be declared without double
quotes.
Aamir Sohail20
21. The String values should be enclosed within
doublequotes(")
Date and Time variables should be enclosed
within hash symbol(#)
Following are the examples
Aamir Sohail21
22. The value 25 is assigned to the variable. Value1 =
25
A String Value ‘VBScript’ is assigned to the
variable StrValue.
StrValue = “VBScript”
The date 01/01/2020 is assigned to the variable
DToday.
Date1 =#01/01/2020#
A Specific Time Stamp is assigned to a variable in
the below example.
Time1 = #12:30:44 PM##
Aamir Sohail22
23. The variable in VBScript are declared using Dim
Keyword. Din stands for dimension, the syntax for
declaring variable is as follows:
Dim VarName
Here, VarName is variable name. VBScript has only
one data type called variant, it can store different
types of data such as string, integers, floating
point and numbers etc
Aamir Sohail23
24. VBScript interprets a variant according to the value
stored in it.
For example, a variant is treated as a number if it
contains numeric value. Similarly, a variable is
treated as string if It contains string value.
Aamir Sohail24
25. The option explicit is used to ensure that all
variables are declared before they are used.
The option explicit statement is included before any
HTML text or script commands.
Aamir Sohail25
30. In simple words, 4 + 5 is equal to 9. Here, 4 and 5
are called operands and + is called operator.
VBScript language supports following types of
operators:
VBScript provides different mathematical operators
to manipulate data and perform calculations that
are as follows:
Aamir Sohail30
31. Assume variable A holds 5 and variable B holds 10,
then:
Aamir Sohail31
32. There are following comparison operators supported by
VBScript language.
Assume variable A holds 10 and variable B holds 20, then:
Aamir Sohail32
33. There are following Concatenation operators supported by
VBScript language:
Assume variable A holds 5 and variable B holds 10 then:
Aamir Sohail33
34. Comments are the part of script that are not
executed. Comment are actually notes about
different lines of code that explain the purpose of
the code.
Comment can be added anywhere in the code.
In VBScript, comments starts with an single (‘).
Aamir Sohail34
35. A single (‘) Quote is used to tell the browser that
ignore statements that follow the symbol while
processing the code.
Following line is an example of VBScript Comment
‘Hi…!!! This is an example of comment
Aamir Sohail35
36. A function is a group of reusable code which can be
called anywhere in your program. This eliminates
the need of writing same code over and over
again.
This will enable programmers to divide a big
program into a number of small and manageable
functions.
Aamir Sohail36
37. Before we use a function, we need to define that
particular function.
The most common way to define a function in
VBScript is by using the Function keyword,
followed by a unique function name and it may or
may not carry a list of parameters and a statement
with a End Function keyword, which indicates the
end of the function.
Aamir Sohail37
38. The basic syntax is shown below:
Function Functionname(parameter-list)
statement 1
statement 2
statement 3
.
.
.
statement n
End Function
Aamir Sohail38
39. To invoke a function somewhere later in the script,
you would simple need to write the name of that
function with the Call keyword.
Function Functio01(parameter-list)
statement 1
End Function
Call Function01
Aamir Sohail39
40. Decision making allows programmers to control the
execution flow of a script or one of its sections.
The execution is governed by one or more
conditional statements.
Following is the general form of a typical decision
making structure found in most of the
programming languages:
Aamir Sohail40
41. If the condition is said to be True, the statements
under If condition(s) are Executed.
If the Condition is said to be False, the statements
after the If loop are executed.
Aamir Sohail41
42. <script language="vbscript">
Dim a : a = 20
Dim b : b = 10
If a > b
Then
Document.write "a is Greater than b"
End If
</script>
Aamir Sohail42
43. If the condition is said to be True, the statements
under If condition(s) are Executed.
If the Condition is said to be False, the statements
under Else Part would be executed.
Aamir Sohail43
44. Dim a : a = 5
Dim b : b = 25
If a > b
Then
Document.write "a is Greater“
Else
Document.write "b is Greater“
End If
Aamir Sohail44