4 1001 Li m SMU Computer 1003 Wang f FZU English 1004 Chen f PKU Geography 1005 Zhao m ZJU Information 2 3 1008 Jian m HDU Computer 6 1009 Jun m ZJU English 1 3 2 ZJU English
最初的线性表是: ID-1001,name-Li,sex-m,School-SMU,major-Computer. ID-1003,name-Wang,sex-f,School-FZU,major-English. ID-1004,name-Chen,sex-f,School-PKU,major-Geography. ID-1005,name-Zhao,sex-m,School-ZJU,major-Information. 插入2个数据后的线性表是: ID-1001,name-Li,sex-m,School-SMU,major-Computer. ID-1003,name-Wang,sex-f,School-FZU,major-English. ID-1004,name-Chen,sex-f,School-PKU,major-Geography. ID-1008,name-Jian,sex-m,School-HDU,major-Computer. ID-1005,name-Zhao,sex-m,School-ZJU,major-Information. ID-1009,name-Jun,sex-m,School-ZJU,major-English. 删除1个数据后的线性表是: ID-1001??ame-Li,sex-m,School-SMU,major-Computer. ID-1003,name-Wang,sex-f,School-FZU,major-English. ID-1004,name-Chen,sex-f,School-PKU,major-Geography. ID-1005,name-Zhao,sex-m,School-ZJU,major-Information. ID-1009,name-Jun,sex-m,School-ZJU,major-English. 查找"ZJU"的结果是: ID-1005,name-Zhao,sex-m,School-ZJU,major-Information. ID-1009,name-Jun,sex-m,School-ZJU,major-English. 查找"English"的结果是: ID-1003,name-Wang,sex-f,School-FZU,major-English. ID-1009,name-Jun,sex-m,School-ZJU,major-English. 此时线性表的长度是5.